Index: third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.h |
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.h b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.h |
index 1c8e54b61bb4dcdf70cb0248979573133cf634a0..aa04afe9f48da08fffe2bf9fb10395cba861b31c 100644 |
--- a/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.h |
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.h |
@@ -27,6 +27,7 @@ |
#include "modules/EventModules.h" |
#include "modules/peerconnection/RTCDataChannel.h" |
+#include "modules/peerconnection/RTCDataChannelEventInit.h" |
#include "wtf/text/AtomicString.h" |
namespace blink { |
@@ -42,6 +43,9 @@ class RTCDataChannelEvent final : public Event { |
bool cancelable, |
RTCDataChannel*); |
+ static RTCDataChannelEvent* create(const AtomicString& type, |
+ const RTCDataChannelEventInit&); |
+ |
RTCDataChannel* channel() const; |
const AtomicString& interfaceName() const override; |
@@ -54,6 +58,7 @@ class RTCDataChannelEvent final : public Event { |
bool cancelable, |
RTCDataChannel*); |
+ RTCDataChannelEvent(const AtomicString& type, const RTCDataChannelEventInit&); |
Member<RTCDataChannel> m_channel; |
}; |