aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/rtcpeerconnection.rs
diff options
context:
space:
mode:
authorFernando Jiménez Moreno <ferjmoreno@gmail.com>2020-06-02 10:52:34 +0200
committerFernando Jiménez Moreno <ferjmoreno@gmail.com>2020-06-29 16:53:48 +0200
commit960b010d300503befa9c4469d0ee055908dba923 (patch)
treecd11aac33145d0b59b0e95a5407212422874918c /components/script/dom/rtcpeerconnection.rs
parentace0d7795ec3e9ad1bdadfd1894aacbd0d3676d8 (diff)
downloadservo-960b010d300503befa9c4469d0ee055908dba923.tar.gz
servo-960b010d300503befa9c4469d0ee055908dba923.zip
Cleanups and tidy fixes
Diffstat (limited to 'components/script/dom/rtcpeerconnection.rs')
-rw-r--r--components/script/dom/rtcpeerconnection.rs10
1 files changed, 2 insertions, 8 deletions
diff --git a/components/script/dom/rtcpeerconnection.rs b/components/script/dom/rtcpeerconnection.rs
index 2e7f05f4873..2e568c7a971 100644
--- a/components/script/dom/rtcpeerconnection.rs
+++ b/components/script/dom/rtcpeerconnection.rs
@@ -675,15 +675,9 @@ impl RTCPeerConnectionMethods for RTCPeerConnection {
fn CreateDataChannel(
&self,
label: USVString,
- dataChannelDict: &RTCDataChannelInit,
+ init: &RTCDataChannelInit,
) -> DomRoot<RTCDataChannel> {
- RTCDataChannel::new(
- &self.global(),
- &self.controller,
- label,
- dataChannelDict,
- None,
- )
+ RTCDataChannel::new(&self.global(), &self.controller, label, init, None)
}
}