diff options
Diffstat (limited to 'components/script/dom/gainnode.rs')
-rw-r--r-- | components/script/dom/gainnode.rs | 3 |
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)] |