mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
CanGc fixes in components/script/dom (#33862)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
5148b444be
commit
2b9527262c
10 changed files with 43 additions and 19 deletions
|
@ -48,8 +48,9 @@ impl MediaStreamTrackAudioSourceNode {
|
|||
window: &Window,
|
||||
context: &AudioContext,
|
||||
track: &MediaStreamTrack,
|
||||
can_gc: CanGc,
|
||||
) -> Fallible<DomRoot<MediaStreamTrackAudioSourceNode>> {
|
||||
Self::new_with_proto(window, None, context, track, CanGc::note())
|
||||
Self::new_with_proto(window, None, context, track, can_gc)
|
||||
}
|
||||
|
||||
#[allow(crown::unrooted_must_root)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue