Backed out changeset 512f176d3de6 (bug 1288033) to fix a incomplete backout
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Thu, 21 Jul 2016 12:36:38 +0200
changeset 331123 008ef774d48e611abdbbdb5f0385453195dab7f9
parent 331122 d4cf63e47ae96251a2e01befa08e4a6d69b88049
child 331124 efcf012e6cfc24413bea5078650e4528be361205
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 out512f176d3de68d731744abe4c265dee397e2cef0
Backed out changeset 512f176d3de6 (bug 1288033) to fix a incomplete backout
dom/workers/WorkerRunnable.cpp
--- a/dom/workers/WorkerRunnable.cpp
+++ b/dom/workers/WorkerRunnable.cpp
@@ -255,20 +255,16 @@ WorkerRunnable::Run()
 
     Cancel();
 
     MOZ_ASSERT(mCallingCancelWithinRun);
     mCallingCancelWithinRun = false;
 
     MOZ_ASSERT(IsCanceled(), "Subclass Cancel() didn't set IsCanceled()!");
 
-    if (mBehavior == WorkerThreadModifyBusyCount) {
-      mWorkerPrivate->ModifyBusyCountFromWorker(WorkerPrivate::eDecreaseBusyCount);
-    }
-
     return NS_OK;
   }
 
   bool result = PreRun(mWorkerPrivate);
   if (!result) {
     MOZ_ASSERT(targetIsWorkerThread,
                "The only PreRun implementation that can fail is "
                "ScriptExecutorRunnable");