Bug 1288033 - part 2 - fixed a compilation error, r=me
☠☠ backed out by 1de4835bc141 ☠ ☠
authorAndrea Marchesini <amarchesini@mozilla.com>
Thu, 21 Jul 2016 09:56:11 +0200
changeset 331110 90c6741cda5d9ae5cc472bfe2e819b2f9501e8cc
parent 331109 9fa64e0224e2c16a8097d1d3b3c7d17cc2d59a1a
child 331111 37e87a7c3771ffa468c1f50f810d331dfd53877c
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)
reviewersme
bugs1288033
milestone50.0a1
Bug 1288033 - part 2 - fixed a compilation error, r=me
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(WorkerPrivate::eDecreaseBusyCount);
+      mWorkerPrivate->ModifyBusyCountFromWorker(false);
     }
 
     return NS_OK;
   }
 
   bool result = PreRun(mWorkerPrivate);
   if (!result) {
     MOZ_ASSERT(targetIsWorkerThread,