aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gainnode.rs
diff options
context:
space:
mode:
authorchickenleaf <lashwinib@gmail.com>2024-10-16 08:20:28 +0530
committerGitHub <noreply@github.com>2024-10-16 02:50:28 +0000
commita2f81d69c1971f07c2af8633756953ddd70a1bb5 (patch)
treea0f3cc7e6939f3e588b14b49b483a2d31e0d1aa4 /components/script/dom/gainnode.rs
parent5b8fbb023dfba890c7744e826a077776516131c6 (diff)
downloadservo-a2f81d69c1971f07c2af8633756953ddd70a1bb5.tar.gz
servo-a2f81d69c1971f07c2af8633756953ddd70a1bb5.zip
CanGc fixes (#33852)
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
Diffstat (limited to 'components/script/dom/gainnode.rs')
-rw-r--r--components/script/dom/gainnode.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/gainnode.rs b/components/script/dom/gainnode.rs
index ee2e7c40ffb..aa03d616cd6 100644
--- a/components/script/dom/gainnode.rs
+++ b/components/script/dom/gainnode.rs
@@ -69,8 +69,9 @@ impl GainNode {
window: &Window,
context: &BaseAudioContext,
options: &GainOptions,
+ can_gc: CanGc,
) -> Fallible<DomRoot<GainNode>> {
- Self::new_with_proto(window, None, context, options, CanGc::note())
+ Self::new_with_proto(window, None, context, options, can_gc)
}
#[allow(crown::unrooted_must_root)]