aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/channelsplitternode.rs
diff options
context:
space:
mode:
authorchickenleaf <lashwinib@gmail.com>2024-10-18 17:24:32 +0530
committerGitHub <noreply@github.com>2024-10-18 11:54:32 +0000
commitfde8d72acabb6f8314efe0e66312c02a488a7613 (patch)
treef03dbd61bbb4dbc77fb48414671f8e3c29f8ff33 /components/script/dom/channelsplitternode.rs
parent6b87ecc291b08559cd2bbda8e4902f70a0fd0c7c (diff)
downloadservo-fde8d72acabb6f8314efe0e66312c02a488a7613.tar.gz
servo-fde8d72acabb6f8314efe0e66312c02a488a7613.zip
Various CanGc fixes in 8 files (#33893)
* Various CanGc fixes in 8 files Signed-off-by: L Ashwin B <lashwinib@gmail.com> * fixed merge conflicts and formatting Signed-off-by: L Ashwin B <lashwinib@gmail.com> --------- Signed-off-by: L Ashwin B <lashwinib@gmail.com>
Diffstat (limited to 'components/script/dom/channelsplitternode.rs')
-rw-r--r--components/script/dom/channelsplitternode.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/channelsplitternode.rs b/components/script/dom/channelsplitternode.rs
index 91b885b9ed7..29d7a92f94f 100644
--- a/components/script/dom/channelsplitternode.rs
+++ b/components/script/dom/channelsplitternode.rs
@@ -63,8 +63,9 @@ impl ChannelSplitterNode {
window: &Window,
context: &BaseAudioContext,
options: &ChannelSplitterOptions,
+ can_gc: CanGc,
) -> Fallible<DomRoot<ChannelSplitterNode>> {
- 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)]