diff options
author | Moonchild <moonchild@palemoon.org> | 2020-07-24 11:09:54 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-07-28 10:38:04 +0000 |
commit | 71848c23a4d09bbb7eff1b27d2cb28904e35240d (patch) | |
tree | 3ee22a605fd936c5e97ce1c4baf18c33d1f17407 /dom/workers | |
parent | 1d321e689e7dcad9cf9519c19e0710c6bf1333a7 (diff) | |
download | UXP-71848c23a4d09bbb7eff1b27d2cb28904e35240d.tar UXP-71848c23a4d09bbb7eff1b27d2cb28904e35240d.tar.gz UXP-71848c23a4d09bbb7eff1b27d2cb28904e35240d.tar.lz UXP-71848c23a4d09bbb7eff1b27d2cb28904e35240d.tar.xz UXP-71848c23a4d09bbb7eff1b27d2cb28904e35240d.zip |
Issue #1587 Part 11 (followup 1): Implement multithreaded signals for workers.
Diffstat (limited to 'dom/workers')
-rw-r--r-- | dom/workers/ScriptLoader.cpp | 2 | ||||
-rw-r--r-- | dom/workers/ServiceWorkerPrivate.cpp | 2 | ||||
-rw-r--r-- | dom/workers/ServiceWorkerScriptCache.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/dom/workers/ScriptLoader.cpp b/dom/workers/ScriptLoader.cpp index bcec94dcb..80e136384 100644 --- a/dom/workers/ScriptLoader.cpp +++ b/dom/workers/ScriptLoader.cpp @@ -694,7 +694,7 @@ private: ir->SetPrincipalInfo(Move(principalInfo)); RefPtr<mozilla::dom::Response> response = - new mozilla::dom::Response(mCacheCreator->Global(), ir); + new mozilla::dom::Response(mCacheCreator->Global(), ir, nullptr); mozilla::dom::RequestOrUSVString request; diff --git a/dom/workers/ServiceWorkerPrivate.cpp b/dom/workers/ServiceWorkerPrivate.cpp index 23ae3b366..571ceca37 100644 --- a/dom/workers/ServiceWorkerPrivate.cpp +++ b/dom/workers/ServiceWorkerPrivate.cpp @@ -1510,7 +1510,7 @@ private: if (NS_WARN_IF(!global)) { return false; } - RefPtr<Request> request = new Request(global, internalReq); + RefPtr<Request> request = new Request(global, internalReq, nullptr); MOZ_ASSERT_IF(internalReq->IsNavigationRequest(), request->Redirect() == RequestRedirect::Manual); diff --git a/dom/workers/ServiceWorkerScriptCache.cpp b/dom/workers/ServiceWorkerScriptCache.cpp index 707b689e8..3db58e694 100644 --- a/dom/workers/ServiceWorkerScriptCache.cpp +++ b/dom/workers/ServiceWorkerScriptCache.cpp @@ -554,7 +554,7 @@ private: ir->SetPrincipalInfo(Move(mPrincipalInfo)); } - RefPtr<Response> response = new Response(aCache->GetGlobalObject(), ir); + RefPtr<Response> response = new Response(aCache->GetGlobalObject(), ir, nullptr); RequestOrUSVString request; request.SetAsUSVString().Rebind(URL().Data(), URL().Length()); |