Stop using the worker MainThreadTaskQueue from dom/fetch.

This commit is contained in:
wolfbeast 2018-09-16 10:26:02 +02:00 committed by Roy Tam
commit 73b9f505a1
2 changed files with 3 additions and 9 deletions

View file

@ -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();