diff options
Diffstat (limited to 'components/script/dom/response.rs')
-rw-r--r-- | components/script/dom/response.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/response.rs b/components/script/dom/response.rs index b419f3aa1d6..d359a1aec1f 100644 --- a/components/script/dom/response.rs +++ b/components/script/dom/response.rs @@ -155,7 +155,7 @@ impl Response { } else { // Reset FetchResponse to an in-memory stream with empty byte sequence here for // no-init-body case - let stream = ReadableStream::new_from_bytes(&global, Vec::with_capacity(0)); + let stream = ReadableStream::new_from_bytes(global, Vec::with_capacity(0)); r.body_stream.set(Some(&*stream)); } |