diff options
Diffstat (limited to 'components/script/dom/rtcpeerconnectioniceevent.rs')
-rw-r--r-- | components/script/dom/rtcpeerconnectioniceevent.rs | 3 |
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( |