Bug 966169 - OfflineStatusChangeRunnable modifies busy count. r=khuey
authorNikhil Marathe <nsm.nikhil@gmail.com>
Sat, 01 Feb 2014 15:30:55 -0800
changeset 166537 2c83ee786856dff787c68df6724a831b318c44bb
parent 166536 dfad58dd98b640ba21974794a97a823c67805039
child 166538 fac849dd7be970a24d48cb0d4a703e964d39470b
push id26128
push userphilringnalda@gmail.com
push dateSun, 02 Feb 2014 17:23:15 +0000
treeherdermozilla-central@5f88d54c28e0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs966169
milestone29.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 966169 - OfflineStatusChangeRunnable modifies busy count. r=khuey
dom/workers/WorkerPrivate.cpp
--- a/dom/workers/WorkerPrivate.cpp
+++ b/dom/workers/WorkerPrivate.cpp
@@ -1675,17 +1675,17 @@ public:
     return true;
   }
 };
 
 class OfflineStatusChangeRunnable : public WorkerRunnable
 {
 public:
   OfflineStatusChangeRunnable(WorkerPrivate* aWorkerPrivate, bool aIsOffline)
-    : WorkerRunnable(aWorkerPrivate, WorkerThreadUnchangedBusyCount),
+    : WorkerRunnable(aWorkerPrivate, WorkerThreadModifyBusyCount),
       mIsOffline(aIsOffline)
   {
   }
 
   bool
   WorkerRun(JSContext* aCx, WorkerPrivate* aWorkerPrivate)
   {
     aWorkerPrivate->OfflineStatusChangeEventInternal(aCx, mIsOffline);