summaryrefslogtreecommitdiffstats
path: root/dom/workers/WorkerScope.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-16 10:22:11 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-16 10:22:11 +0200
commitad30b9265193219b7050092aefb3dabc18a38faa (patch)
tree47c49fce95e09fb5f6b22276635ff7377802d3e9 /dom/workers/WorkerScope.cpp
parent351ffa462d2314c4b60369e2ba0f13b5d90f03b5 (diff)
downloadUXP-ad30b9265193219b7050092aefb3dabc18a38faa.tar
UXP-ad30b9265193219b7050092aefb3dabc18a38faa.tar.gz
UXP-ad30b9265193219b7050092aefb3dabc18a38faa.tar.lz
UXP-ad30b9265193219b7050092aefb3dabc18a38faa.tar.xz
UXP-ad30b9265193219b7050092aefb3dabc18a38faa.zip
Stop using the MainThreadTaskQueue from service workers.
Diffstat (limited to 'dom/workers/WorkerScope.cpp')
-rw-r--r--dom/workers/WorkerScope.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/workers/WorkerScope.cpp b/dom/workers/WorkerScope.cpp
index 54252e53b..ace1a09fc 100644
--- a/dom/workers/WorkerScope.cpp
+++ b/dom/workers/WorkerScope.cpp
@@ -717,7 +717,7 @@ ServiceWorkerGlobalScope::SkipWaiting(ErrorResult& aRv)
new WorkerScopeSkipWaitingRunnable(promiseProxy,
NS_ConvertUTF16toUTF8(mScope));
- MOZ_ALWAYS_SUCCEEDS(mWorkerPrivate->DispatchToMainThread(runnable.forget()));
+ MOZ_ALWAYS_SUCCEEDS(NS_DispatchToMainThread(runnable));
return promise.forget();
}