Bug 1263311: Part 2 - Remove a non-existent CancelableRunnable. r=froydnj
authorKyle Huey <khuey@kylehuey.com>
Mon, 11 Apr 2016 11:40:06 -0700
changeset 292919 6ca7effcd9abd76e8bf5560eb19390b34e3c1c43
parent 292918 81d0c00bb82f3c62dc279d31199f168c9c648fb6
child 292920 9639832c996cedbcc75cdd99e30320ea65bdfad8
push id75025
push userkhuey@mozilla.com
push dateTue, 12 Apr 2016 22:40:24 +0000
treeherdermozilla-inbound@9639832c996c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1263311
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1263311: Part 2 - Remove a non-existent CancelableRunnable. r=froydnj
dom/base/SameProcessMessageQueue.h
--- a/dom/base/SameProcessMessageQueue.h
+++ b/dom/base/SameProcessMessageQueue.h
@@ -9,18 +9,16 @@
 
 #include "nsIRunnable.h"
 #include "mozilla/RefPtr.h"
 #include "nsTArray.h"
 
 namespace mozilla {
 namespace dom {
 
-class CancelableRunnable;
-
 class SameProcessMessageQueue
 {
 public:
   SameProcessMessageQueue();
   virtual ~SameProcessMessageQueue();
 
   class Runnable : public nsIRunnable
   {
@@ -40,18 +38,16 @@ public:
   };
 
   void Push(Runnable* aRunnable);
   void Flush();
 
   static SameProcessMessageQueue* Get();
 
 private:
-  friend class CancelableRunnable;
-
   nsTArray<RefPtr<Runnable>> mQueue;
   static SameProcessMessageQueue* sSingleton;
 };
 
 } // namespace dom
 } // namespace mozilla
 
 #endif // mozilla_dom_SameProcessMessageQueue_h