summaryrefslogtreecommitdiffstats
path: root/dom/workers/ServiceWorkerPrivate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/workers/ServiceWorkerPrivate.cpp')
-rw-r--r--dom/workers/ServiceWorkerPrivate.cpp2
1 files changed, 1 insertions, 1 deletions
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);