mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Multiple CanGc fixes in components/script/dom (#33924)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
ee9e1fbbd6
commit
65c866285f
26 changed files with 77 additions and 37 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue