diff options
author | chickenleaf <lashwinib@gmail.com> | 2024-10-14 03:05:59 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-13 21:35:59 +0000 |
commit | fc0835bae3dc28b17e6002e0594d6112517ff61d (patch) | |
tree | ab06cf48acc57f451ad75ae8a4d384e51b3dff83 /components/script/dom/oscillatornode.rs | |
parent | 92f12ff7cda3d3da667d2358ab3867b1dcc5b9a2 (diff) | |
download | servo-fc0835bae3dc28b17e6002e0594d6112517ff61d.tar.gz servo-fc0835bae3dc28b17e6002e0594d6112517ff61d.zip |
CanGc fixes in focusevent.rs oscillartornode.rs response.rs resizeobserversize.rs animationevent.rs (#33827)
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
Diffstat (limited to 'components/script/dom/oscillatornode.rs')
-rw-r--r-- | components/script/dom/oscillatornode.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/oscillatornode.rs b/components/script/dom/oscillatornode.rs index 8b6a4861061..6ead040d873 100644 --- a/components/script/dom/oscillatornode.rs +++ b/components/script/dom/oscillatornode.rs @@ -91,8 +91,9 @@ impl OscillatorNode { window: &Window, context: &BaseAudioContext, options: &OscillatorOptions, + can_gc: CanGc, ) -> Fallible<DomRoot<OscillatorNode>> { - 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)] |