Index: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl |
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl |
index f7d0137b6c8e04bdc863e3a7f03c1eeeeaf7b6d8..47d1413cdcc11329261c21be028b1007c418b6a2 100644 |
--- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl |
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl |
@@ -116,9 +116,7 @@ enum RTCIceConnectionState { |
sequence<RTCRtpReceiver> getReceivers(); |
// https://w3c.github.io/webrtc-pc/#peer-to-peer-data-api |
- // TODO(guidou): The label argument should have [TreatNullAs=EmptyString] |
- // and be non-nullable. |
- [CallWith=ScriptState, RaisesException] RTCDataChannel createDataChannel(DOMString? label, optional Dictionary options); |
+ [CallWith=ScriptState, RaisesException] RTCDataChannel createDataChannel(USVString label, optional RTCDataChannelInit dataChannelDict); |
attribute EventHandler ondatachannel; |
// Certificate management |