mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Cleanups and tidy fixes
This commit is contained in:
parent
ace0d7795e
commit
960b010d30
8 changed files with 23 additions and 24 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue