Bug 547399 followup: Remove duplicate debug-only 'friend class nsDOMFireEventRunnable' statement. r=bent
authorDaniel Holbert <dholbert@cs.stanford.edu>
Wed, 17 Mar 2010 21:41:36 -0700
changeset 39564 d91d66514c2f
parent 39563 65cab5d63858
child 39565 b475e1fb14cd
push id12268
push userdholbert@mozilla.com
push dateThu, 18 Mar 2010 04:48:38 +0000
treeherdermozilla-central@d91d66514c2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbent
bugs547399
milestone1.9.3a4pre
Bug 547399 followup: Remove duplicate debug-only 'friend class nsDOMFireEventRunnable' statement. r=bent
dom/src/threads/nsDOMWorker.h
--- a/dom/src/threads/nsDOMWorker.h
+++ b/dom/src/threads/nsDOMWorker.h
@@ -121,21 +121,16 @@ class nsDOMWorker : public nsDOMWorkerMe
   friend class nsReportErrorRunnable;
   friend class nsDOMFireEventRunnable;
 
   friend JSBool DOMWorkerOperationCallback(JSContext* aCx);
   friend void DOMWorkerErrorReporter(JSContext* aCx,
                                      const char* aMessage,
                                      JSErrorReport* aReport);
 
-#ifdef DEBUG
-  // For fun assertions.
-  friend class nsDOMFireEventRunnable;
-#endif
-
 public:
   NS_DECL_ISUPPORTS_INHERITED
   NS_DECL_NSIDOMEVENTTARGET
   // nsIDOMNSEventTarget
   NS_IMETHOD AddEventListener(const nsAString& aType,
                               nsIDOMEventListener* aListener,
                               PRBool aUseCapture,
                               PRBool aWantsUntrusted,