Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1260)

Unified Diff: Source/modules/mediastream/MediaStreamTrackEvent.cpp

Issue 173363002: Move mediastream module to oilpan transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed RTCPeerConnection destructor Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698