summaryrefslogtreecommitdiffstats
path: root/dom/cache
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-07-24 11:09:54 +0000
committerMoonchild <moonchild@palemoon.org>2020-07-28 10:38:04 +0000
commit71848c23a4d09bbb7eff1b27d2cb28904e35240d (patch)
tree3ee22a605fd936c5e97ce1c4baf18c33d1f17407 /dom/cache
parent1d321e689e7dcad9cf9519c19e0710c6bf1333a7 (diff)
downloadUXP-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/cache')
-rw-r--r--dom/cache/TypeUtils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/cache/TypeUtils.cpp b/dom/cache/TypeUtils.cpp
index f8c5cd7be..5c3661d66 100644
--- a/dom/cache/TypeUtils.cpp
+++ b/dom/cache/TypeUtils.cpp
@@ -253,7 +253,7 @@ TypeUtils::ToResponse(const CacheResponse& aIn)
{
if (aIn.type() == ResponseType::Error) {
RefPtr<InternalResponse> error = InternalResponse::NetworkError();
- RefPtr<Response> r = new Response(GetGlobalObject(), error);
+ RefPtr<Response> r = new Response(GetGlobalObject(), error, nullptr);
return r.forget();
}
@@ -302,7 +302,7 @@ TypeUtils::ToResponse(const CacheResponse& aIn)
}
MOZ_DIAGNOSTIC_ASSERT(ir);
- RefPtr<Response> ref = new Response(GetGlobalObject(), ir);
+ RefPtr<Response> ref = new Response(GetGlobalObject(), ir, nullptr);
return ref.forget();
}
already_AddRefed<InternalRequest>
@@ -345,7 +345,7 @@ already_AddRefed<Request>
TypeUtils::ToRequest(const CacheRequest& aIn)
{
RefPtr<InternalRequest> internalRequest = ToInternalRequest(aIn);
- RefPtr<Request> request = new Request(GetGlobalObject(), internalRequest);
+ RefPtr<Request> request = new Request(GetGlobalObject(), internalRequest, nullptr);
return request.forget();
}