Bug 1270161 Follow-up to fix beta build bustage. r=me a=me FIREFOX_47_0b4_BUILD1 FIREFOX_47_0b4_RELEASE
authorBen Kelly <ben@wanderview.com>
Mon, 09 May 2016 17:11:16 -0700
changeset 365889 2991f214d4f4d8a3c5cfd95e6223f0660006767d
parent 365888 beaf4d37d01c85e87cee2682604083a889beeb29
child 365890 f07d961162adaf999dcaffc8c06bebfe8c5b8067
push id17839
push userbmo:jyavenard@mozilla.com
push dateWed, 11 May 2016 13:59:51 +0000
reviewersme, me
bugs1270161
milestone47.0
Bug 1270161 Follow-up to fix beta build bustage. r=me a=me
dom/fetch/Fetch.cpp
--- a/dom/fetch/Fetch.cpp
+++ b/dom/fetch/Fetch.cpp
@@ -322,17 +322,17 @@ public:
 
   bool
   WorkerRun(JSContext* aCx, WorkerPrivate* aWorkerPrivate) override
   {
     WorkerRunInternal(aWorkerPrivate);
     return true;
   }
 
-  nsresult
+  NS_IMETHOD
   Cancel() override
   {
     // Execute Run anyway to make sure we cleanup our promise proxy to avoid
     // leaking the worker thread
     Run();
     return WorkerRunnable::Cancel();
   }
 };