diff options
author | tanishka <109246904+taniishkaaa@users.noreply.github.com> | 2024-10-20 21:37:15 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-20 16:07:15 +0000 |
commit | 65c866285f69d4c26ae46e604bcc05dda1641df7 (patch) | |
tree | e079194aa0d60f5df522fb10911b3ea9914774df /components/script/dom/offlineaudiocontext.rs | |
parent | ee9e1fbbd6f64d95392e0d501ee423bceeb15f7f (diff) | |
download | servo-65c866285f69d4c26ae46e604bcc05dda1641df7.tar.gz servo-65c866285f69d4c26ae46e604bcc05dda1641df7.zip |
Multiple CanGc fixes in components/script/dom (#33924)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
Diffstat (limited to 'components/script/dom/offlineaudiocontext.rs')
-rw-r--r-- | components/script/dom/offlineaudiocontext.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/offlineaudiocontext.rs b/components/script/dom/offlineaudiocontext.rs index f0e2d7d1747..bbc59a7801f 100644 --- a/components/script/dom/offlineaudiocontext.rs +++ b/components/script/dom/offlineaudiocontext.rs @@ -197,7 +197,8 @@ impl OfflineAudioContextMethods for OfflineAudioContext { this.channel_count, this.length, *this.context.SampleRate(), - Some(processed_audio.as_slice())); + Some(processed_audio.as_slice()), + CanGc::note()); (*this.pending_rendering_promise.borrow_mut()).take().unwrap().resolve_native(&buffer); let global = &this.global(); let window = global.as_window(); |