aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/rtcpeerconnectioniceevent.rs
diff options
context:
space:
mode:
authortanishka <109246904+taniishkaaa@users.noreply.github.com>2024-10-17 18:19:00 +0530
committerGitHub <noreply@github.com>2024-10-17 12:49:00 +0000
commitcd7b66be58e289faa5a605856500bb1ebd0773bf (patch)
treef3d8778f7cc1cdc44bb4331e0014e929ad3ce428 /components/script/dom/rtcpeerconnectioniceevent.rs
parent72ff89620bbcc03b1534a092f65e526909df3a4a (diff)
downloadservo-cd7b66be58e289faa5a605856500bb1ebd0773bf.tar.gz
servo-cd7b66be58e289faa5a605856500bb1ebd0773bf.zip
CanGc fixes in components/script/dom (#33880)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
Diffstat (limited to 'components/script/dom/rtcpeerconnectioniceevent.rs')
-rw-r--r--components/script/dom/rtcpeerconnectioniceevent.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/rtcpeerconnectioniceevent.rs b/components/script/dom/rtcpeerconnectioniceevent.rs
index 09cd18b4e69..a1f1aa6575b 100644
--- a/components/script/dom/rtcpeerconnectioniceevent.rs
+++ b/components/script/dom/rtcpeerconnectioniceevent.rs
@@ -46,8 +46,9 @@ impl RTCPeerConnectionIceEvent {
candidate: Option<&RTCIceCandidate>,
url: Option<DOMString>,
trusted: bool,
+ can_gc: CanGc,
) -> DomRoot<RTCPeerConnectionIceEvent> {
- Self::new_with_proto(global, None, ty, candidate, url, trusted, CanGc::note())
+ Self::new_with_proto(global, None, ty, candidate, url, trusted, can_gc)
}
fn new_with_proto(