diff options
author | Yerkebulan Tulibergenov <yerkebulan@gmail.com> | 2025-02-21 21:42:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-22 05:42:55 +0000 |
commit | 245a39c07eb14f1acb03c4d85aaa4901af863a71 (patch) | |
tree | 648c6d8de054b198aed81e680685afbce40ca457 /components/script/fetch.rs | |
parent | 35f21e426b2fec968ebd0970b743d43ac6fd012f (diff) | |
download | servo-245a39c07eb14f1acb03c4d85aaa4901af863a71.tar.gz servo-245a39c07eb14f1acb03c4d85aaa4901af863a71.zip |
refactor: add CanGc as argument to create_buffer_source (#35597)
Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
Diffstat (limited to 'components/script/fetch.rs')
-rw-r--r-- | components/script/fetch.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/fetch.rs b/components/script/fetch.rs index 125379eee05..bda60fd9ad3 100644 --- a/components/script/fetch.rs +++ b/components/script/fetch.rs @@ -272,7 +272,7 @@ impl FetchResponseListener for FetchContext { fn process_response_chunk(&mut self, _: RequestId, chunk: Vec<u8>) { let response = self.response_object.root(); - response.stream_chunk(chunk); + response.stream_chunk(chunk, CanGc::note()); } fn process_response_eof( |