Index: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnectionIceEvent.idl |
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCIceCandidateEvent.idl b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnectionIceEvent.idl |
similarity index 80% |
rename from third_party/WebKit/Source/modules/peerconnection/RTCIceCandidateEvent.idl |
rename to third_party/WebKit/Source/modules/peerconnection/RTCPeerConnectionIceEvent.idl |
index a9ce7caedaa35f43ba44ac687930381f39910e0d..646aab54e6b2c2dd0d2a24743585caba6d0f6f46 100644 |
--- a/third_party/WebKit/Source/modules/peerconnection/RTCIceCandidateEvent.idl |
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnectionIceEvent.idl |
@@ -24,7 +24,9 @@ |
*/ |
[ |
- NoInterfaceObject |
-] interface RTCIceCandidateEvent : Event { |
- readonly attribute RTCIceCandidate candidate; |
+ Constructor(DOMString type, optional RTCPeerConnectionIceEventInit eventInitDict) |
+] interface RTCPeerConnectionIceEvent : Event { |
+ readonly attribute RTCIceCandidate? candidate; |
+ // TODO(lunalu): add nullable url attribute here: |
+ // https://rawgit.com/w3c/webrtc-pc/master/webrtc.html#rtcpeerconnectioniceevent |
}; |