mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Some CanGc fixes in components/script/dom (#33895)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
e33bae6d0a
commit
6b87ecc291
5 changed files with 23 additions and 15 deletions
|
@ -40,16 +40,9 @@ impl RTCTrackEvent {
|
|||
bubbles: bool,
|
||||
cancelable: bool,
|
||||
track: &MediaStreamTrack,
|
||||
can_gc: CanGc,
|
||||
) -> DomRoot<RTCTrackEvent> {
|
||||
Self::new_with_proto(
|
||||
global,
|
||||
None,
|
||||
type_,
|
||||
bubbles,
|
||||
cancelable,
|
||||
track,
|
||||
CanGc::note(),
|
||||
)
|
||||
Self::new_with_proto(global, None, type_, bubbles, cancelable, track, can_gc)
|
||||
}
|
||||
|
||||
fn new_with_proto(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue