diff --git a/dom/workers/WorkerRunnable.cpp b/dom/workers/WorkerRunnable.cpp index 5c826a140fb7..ba641ed38995 100644 --- a/dom/workers/WorkerRunnable.cpp +++ b/dom/workers/WorkerRunnable.cpp @@ -261,7 +261,7 @@ WorkerRunnable::Run() MOZ_ASSERT(IsCanceled(), "Subclass Cancel() didn't set IsCanceled()!"); if (mBehavior == WorkerThreadModifyBusyCount) { - mWorkerPrivate->ModifyBusyCountFromWorker(WorkerPrivate::eDecreaseBusyCount); + mWorkerPrivate->ModifyBusyCountFromWorker(false); } return NS_OK;