diff options
Diffstat (limited to 'components/script/dom/rtcdatachannelevent.rs')
-rw-r--r-- | components/script/dom/rtcdatachannelevent.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/rtcdatachannelevent.rs b/components/script/dom/rtcdatachannelevent.rs index d104315d103..1b245a06b56 100644 --- a/components/script/dom/rtcdatachannelevent.rs +++ b/components/script/dom/rtcdatachannelevent.rs @@ -52,7 +52,7 @@ impl RTCDataChannelEvent { channel: &RTCDataChannel, ) -> DomRoot<RTCDataChannelEvent> { let event = reflect_dom_object_with_proto( - Box::new(RTCDataChannelEvent::new_inherited(&channel)), + Box::new(RTCDataChannelEvent::new_inherited(channel)), global, proto, ); |