Index: Source/modules/mediastream/RTCDataChannelEvent.cpp |
diff --git a/Source/modules/mediastream/RTCDataChannelEvent.cpp b/Source/modules/mediastream/RTCDataChannelEvent.cpp |
index 1608182ecb3542714207ab4fc93a729c63f4205a..8ca3fddfa4e360ff03c7cfa80f4c90dbcc419c47 100644 |
--- a/Source/modules/mediastream/RTCDataChannelEvent.cpp |
+++ b/Source/modules/mediastream/RTCDataChannelEvent.cpp |
@@ -32,7 +32,7 @@ PassRefPtrWillBeRawPtr<RTCDataChannelEvent> RTCDataChannelEvent::create() |
return adoptRefWillBeNoop(new RTCDataChannelEvent); |
} |
-PassRefPtrWillBeRawPtr<RTCDataChannelEvent> RTCDataChannelEvent::create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<RTCDataChannel> channel) |
+PassRefPtrWillBeRawPtr<RTCDataChannelEvent> RTCDataChannelEvent::create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<RTCDataChannel> channel) |
{ |
return adoptRefWillBeNoop(new RTCDataChannelEvent(type, canBubble, cancelable, channel)); |
} |
@@ -43,7 +43,7 @@ RTCDataChannelEvent::RTCDataChannelEvent() |
ScriptWrappable::init(this); |
} |
-RTCDataChannelEvent::RTCDataChannelEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<RTCDataChannel> channel) |
+RTCDataChannelEvent::RTCDataChannelEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<RTCDataChannel> channel) |
: Event(type, canBubble, cancelable) |
, m_channel(channel) |
{ |
@@ -66,6 +66,7 @@ const AtomicString& RTCDataChannelEvent::interfaceName() const |
void RTCDataChannelEvent::trace(Visitor* visitor) |
{ |
+ visitor->trace(m_channel); |
Event::trace(visitor); |
} |