Index: Source/WebCore/Modules/mediastream/RTCDataChannelEvent.cpp |
diff --git a/Source/WebCore/Modules/mediastream/RTCDataChannelEvent.cpp b/Source/WebCore/Modules/mediastream/RTCDataChannelEvent.cpp |
index f227135b74d1b8071c628a31a1b098360a3fb9ce..a7f78c9909ae796cf30892bf1adc6c597db439a8 100644 |
--- a/Source/WebCore/Modules/mediastream/RTCDataChannelEvent.cpp |
+++ b/Source/WebCore/Modules/mediastream/RTCDataChannelEvent.cpp |
@@ -45,12 +45,14 @@ PassRefPtr<RTCDataChannelEvent> RTCDataChannelEvent::create(const AtomicString& |
RTCDataChannelEvent::RTCDataChannelEvent() |
{ |
+ ScriptWrappable::init(this); |
} |
RTCDataChannelEvent::RTCDataChannelEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<RTCDataChannel> channel) |
: Event(type, canBubble, cancelable) |
, m_channel(channel) |
{ |
+ ScriptWrappable::init(this); |
} |
RTCDataChannelEvent::~RTCDataChannelEvent() |