Backed out changeset 90c6741cda5d (bug 1288033) for web platform e10s failure
authorIris Hsiao <ihsiao@mozilla.com>
Thu, 21 Jul 2016 17:52:56 +0800
changeset 331120 1de4835bc1414570182a83e94a9eb1b644cb7c43
parent 331119 ae502e2271f2464d92ef398d7c8c43f835865bd6
child 331121 5832850a42d91d1124e55d85b5052b542a609eb3
push id9858
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 14:37:10 +0000
treeherdermozilla-aurora@203106ef6cb6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1288033
milestone50.0a1
backs out90c6741cda5d9ae5cc472bfe2e819b2f9501e8cc
Backed out changeset 90c6741cda5d (bug 1288033) for web platform e10s failure
dom/workers/WorkerRunnable.cpp
--- a/dom/workers/WorkerRunnable.cpp
+++ b/dom/workers/WorkerRunnable.cpp
@@ -256,17 +256,17 @@ WorkerRunnable::Run()
     Cancel();
 
     MOZ_ASSERT(mCallingCancelWithinRun);
     mCallingCancelWithinRun = false;
 
     MOZ_ASSERT(IsCanceled(), "Subclass Cancel() didn't set IsCanceled()!");
 
     if (mBehavior == WorkerThreadModifyBusyCount) {
-      mWorkerPrivate->ModifyBusyCountFromWorker(false);
+      mWorkerPrivate->ModifyBusyCountFromWorker(WorkerPrivate::eDecreaseBusyCount);
     }
 
     return NS_OK;
   }
 
   bool result = PreRun(mWorkerPrivate);
   if (!result) {
     MOZ_ASSERT(targetIsWorkerThread,