Index: third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.idl |
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.idl b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.idl |
index 0a724076afb22d0251d5ddfb97e55928e7146044..4307c1b8c2131e651932951228a1b91a1bd00dab 100644 |
--- a/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.idl |
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.idl |
@@ -25,10 +25,8 @@ |
// https://w3c.github.io/webrtc-pc/#rtcdatachannelevent |
-// TODO(foolip): RTCDataChannelEvent should have a constructor. See also |
-// https://github.com/w3c/webrtc-pc/issues/817 |
[ |
- NoInterfaceObject |
+ Constructor(DOMString type, RTCDataChannelEventInit eventInitDict), |
] interface RTCDataChannelEvent : Event { |
readonly attribute RTCDataChannel channel; |
}; |