Index: Source/modules/mediastream/MediaStreamTrackEvent.cpp |
diff --git a/Source/modules/mediastream/MediaStreamTrackEvent.cpp b/Source/modules/mediastream/MediaStreamTrackEvent.cpp |
index 581f3481db26cd47bd8414efd790dbaafcd73150..4f7eb7af32d9db9bfc0bdbb716726a7808ff1c5c 100644 |
--- a/Source/modules/mediastream/MediaStreamTrackEvent.cpp |
+++ b/Source/modules/mediastream/MediaStreamTrackEvent.cpp |
@@ -34,7 +34,7 @@ PassRefPtrWillBeRawPtr<MediaStreamTrackEvent> MediaStreamTrackEvent::create() |
return adoptRefWillBeNoop(new MediaStreamTrackEvent); |
} |
-PassRefPtrWillBeRawPtr<MediaStreamTrackEvent> MediaStreamTrackEvent::create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStreamTrack> track) |
+PassRefPtrWillBeRawPtr<MediaStreamTrackEvent> MediaStreamTrackEvent::create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<MediaStreamTrack> track) |
{ |
return adoptRefWillBeNoop(new MediaStreamTrackEvent(type, canBubble, cancelable, track)); |
} |
@@ -45,7 +45,7 @@ MediaStreamTrackEvent::MediaStreamTrackEvent() |
ScriptWrappable::init(this); |
} |
-MediaStreamTrackEvent::MediaStreamTrackEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStreamTrack> track) |
+MediaStreamTrackEvent::MediaStreamTrackEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<MediaStreamTrack> track) |
: Event(type, canBubble, cancelable) |
, m_track(track) |
{ |
@@ -68,6 +68,7 @@ const AtomicString& MediaStreamTrackEvent::interfaceName() const |
void MediaStreamTrackEvent::trace(Visitor* visitor) |
{ |
+ visitor->trace(m_track); |
Event::trace(visitor); |
} |