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/audiobuffer.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/audiobuffer.rs')
-rw-r--r-- | components/script/dom/audiobuffer.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/audiobuffer.rs b/components/script/dom/audiobuffer.rs index 59cca8d8ec7..c28160c63a9 100644 --- a/components/script/dom/audiobuffer.rs +++ b/components/script/dom/audiobuffer.rs @@ -81,6 +81,7 @@ impl AudioBuffer { length: u32, sample_rate: f32, initial_data: Option<&[Vec<f32>]>, + can_gc: CanGc, ) -> DomRoot<AudioBuffer> { Self::new_with_proto( global, @@ -89,7 +90,7 @@ impl AudioBuffer { length, sample_rate, initial_data, - CanGc::note(), + can_gc, ) } |