summaryrefslogtreecommitdiffstats
path: root/dom/workers/ServiceWorkerClient.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/ServiceWorkerClient.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/ServiceWorkerClient.cpp')
-rw-r--r--dom/workers/ServiceWorkerClient.cpp2
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;
}