summaryrefslogtreecommitdiff
path: root/dom/fetch/Response.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/fetch/Response.h')
-rw-r--r--dom/fetch/Response.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/fetch/Response.h b/dom/fetch/Response.h
index 61f1427f93..5d6891dddd 100644
--- a/dom/fetch/Response.h
+++ b/dom/fetch/Response.h
@@ -115,7 +115,7 @@ public:
static already_AddRefed<Response>
Constructor(const GlobalObject& aGlobal,
- const Optional<Nullable<ArrayBufferOrArrayBufferViewOrBlobOrFormDataOrUSVStringOrURLSearchParams>>& aBody,
+ const Optional<Nullable<fetch::ResponseBodyInit>>& aBody,
const ResponseInit& aInit, ErrorResult& rv);
nsIGlobalObject* GetParentObject() const
@@ -124,10 +124,10 @@ public:
}
already_AddRefed<Response>
- Clone(ErrorResult& aRv) const;
+ Clone(JSContext* aCx, ErrorResult& aRv) const;
already_AddRefed<Response>
- CloneUnfiltered(ErrorResult& aRv) const;
+ CloneUnfiltered(JSContext* aCx, ErrorResult& aRv) const;
void
SetBody(nsIInputStream* aBody, int64_t aBodySize);