diff options
Diffstat (limited to 'components/script/dom/rtcdatachannelevent.rs')
-rw-r--r-- | components/script/dom/rtcdatachannelevent.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/rtcdatachannelevent.rs b/components/script/dom/rtcdatachannelevent.rs index dc35fc55621..2b7951d8d82 100644 --- a/components/script/dom/rtcdatachannelevent.rs +++ b/components/script/dom/rtcdatachannelevent.rs @@ -21,7 +21,7 @@ use crate::dom::window::Window; use crate::script_runtime::CanGc; #[dom_struct] -pub struct RTCDataChannelEvent { +pub(crate) struct RTCDataChannelEvent { event: Event, channel: Dom<RTCDataChannel>, } @@ -34,7 +34,7 @@ impl RTCDataChannelEvent { } } - pub fn new( + pub(crate) fn new( global: &GlobalScope, type_: Atom, bubbles: bool, |