diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-09-16 10:26:02 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-09-16 10:32:01 +0200 |
commit | b2cbc7b654d51543d9b5e75f0397bdc8c8b5fc5b (patch) | |
tree | 892e9384760f6e8eaae26894c7cd6145226b0186 /dom/fetch/Fetch.cpp | |
parent | ad30b9265193219b7050092aefb3dabc18a38faa (diff) | |
download | UXP-b2cbc7b654d51543d9b5e75f0397bdc8c8b5fc5b.tar UXP-b2cbc7b654d51543d9b5e75f0397bdc8c8b5fc5b.tar.gz UXP-b2cbc7b654d51543d9b5e75f0397bdc8c8b5fc5b.tar.lz UXP-b2cbc7b654d51543d9b5e75f0397bdc8c8b5fc5b.tar.xz UXP-b2cbc7b654d51543d9b5e75f0397bdc8c8b5fc5b.zip |
Stop using the worker MainThreadTaskQueue from dom/fetch.
Diffstat (limited to 'dom/fetch/Fetch.cpp')
-rw-r--r-- | dom/fetch/Fetch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/fetch/Fetch.cpp b/dom/fetch/Fetch.cpp index e2c139426..f944352e3 100644 --- a/dom/fetch/Fetch.cpp +++ b/dom/fetch/Fetch.cpp @@ -260,7 +260,7 @@ FetchRequest(nsIGlobalObject* aGlobal, const RequestOrUSVString& aInput, } RefPtr<MainThreadFetchRunnable> run = new MainThreadFetchRunnable(resolver, r); - worker->DispatchToMainThread(run.forget()); + MOZ_ALWAYS_SUCCEEDS(NS_DispatchToMainThread(run)); } return p.forget(); |