diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-09-16 10:22:11 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-09-16 10:22:11 +0200 |
commit | ad30b9265193219b7050092aefb3dabc18a38faa (patch) | |
tree | 47c49fce95e09fb5f6b22276635ff7377802d3e9 /dom/workers/ServiceWorkerClient.cpp | |
parent | 351ffa462d2314c4b60369e2ba0f13b5d90f03b5 (diff) | |
download | UXP-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/ServiceWorkerClient.cpp')
-rw-r--r-- | dom/workers/ServiceWorkerClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/workers/ServiceWorkerClient.cpp b/dom/workers/ServiceWorkerClient.cpp index 660512a5f..6ed3a6ea4 100644 --- a/dom/workers/ServiceWorkerClient.cpp +++ b/dom/workers/ServiceWorkerClient.cpp @@ -224,7 +224,7 @@ ServiceWorkerClient::PostMessage(JSContext* aCx, JS::Handle<JS::Value> aMessage, return; } - aRv = workerPrivate->DispatchToMainThread(runnable.forget()); + aRv = NS_DispatchToMainThread(runnable); if (NS_WARN_IF(aRv.Failed())) { return; } |