Backed out changeset 6d2cb22d85b0 (bug 1322080) for xpcshell failures on 10.10 debug
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Mon, 12 Dec 2016 12:18:03 +0100
changeset 448697 0dc28cac4e7e24039c98fa27b69cbe55e41bf103
parent 448696 cb61f8d0387284dde0b4baf01811c8bddd1ef9ba
child 448698 285af284df453487f4aa4fb8a901640ead492834
child 448717 f46f85dcfbc2b3098ea758825d18be6fab33cbc6
push id38410
push usercykesiopka.bmo@gmail.com
push dateMon, 12 Dec 2016 16:28:30 +0000
bugs1322080
milestone53.0a1
backs out6d2cb22d85b0f1fb3325410ca7826c76ae56fc60
Backed out changeset 6d2cb22d85b0 (bug 1322080) for xpcshell failures on 10.10 debug
dom/base/nsDOMClassInfo.h
--- a/dom/base/nsDOMClassInfo.h
+++ b/dom/base/nsDOMClassInfo.h
@@ -175,16 +175,21 @@ protected:
 public:
   NS_IMETHOD PreCreate(nsISupports *nativeObj, JSContext *cx,
                        JSObject *globalObj, JSObject **parentObj) override;
   NS_IMETHOD AddProperty(nsIXPConnectWrappedNative *wrapper, JSContext *cx,
                          JSObject *obj, jsid id, JS::Handle<JS::Value> val,
                          bool *_retval) override;
 
   virtual void PreserveWrapper(nsISupports *aNative) override;
+
+  static nsIClassInfo *doCreate(nsDOMClassInfoData* aData)
+  {
+    return new nsEventTargetSH(aData);
+  }
 };
 
 // A place to hang some static methods that we should really consider
 // moving to be nsGlobalWindow member methods.  See bug 1062418.
 class nsWindowSH
 {
 protected:
   static nsresult GlobalResolve(nsGlobalWindow *aWin, JSContext *cx,