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 346076 90c6741cda5d9ae5cc472bfe2e819b2f9501e8cc
parent 346075 9fa64e0224e2c16a8097d1d3b3c7d17cc2d59a1a
child 346077 37e87a7c3771ffa468c1f50f810d331dfd53877c
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1288033
milestone50.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 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,