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

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

Issue 173363002: Move mediastream module to oilpan transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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/MediaStreamTrackSourcesRequestImpl.cpp
diff --git a/Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.cpp b/Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.cpp
index e85ed677cf780782a169527307f7676614d80c9e..ec434134ee2b1c0ef87f7600caecf2222b5e3425 100644
--- a/Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.cpp
+++ b/Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.cpp
@@ -34,9 +34,9 @@
namespace WebCore {
-PassRefPtr<MediaStreamTrackSourcesRequestImpl> MediaStreamTrackSourcesRequestImpl::create(const String& origin, PassOwnPtr<MediaStreamTrackSourcesCallback> callback)
+PassRefPtrWillBeRawPtr<MediaStreamTrackSourcesRequestImpl> MediaStreamTrackSourcesRequestImpl::create(const String& origin, PassOwnPtr<MediaStreamTrackSourcesCallback> callback)
{
- return adoptRef(new MediaStreamTrackSourcesRequestImpl(origin, callback));
+ return adoptRefWillBeNoop(new MediaStreamTrackSourcesRequestImpl(origin, callback));
}
MediaStreamTrackSourcesRequestImpl::MediaStreamTrackSourcesRequestImpl(const String& origin, PassOwnPtr<MediaStreamTrackSourcesCallback> callback)
@@ -68,4 +68,11 @@ void MediaStreamTrackSourcesRequestImpl::scheduledEventTimerFired(Timer<MediaStr
m_protect.release();
}
+void MediaStreamTrackSourcesRequestImpl::trace(Visitor* visitor)
+{
+ visitor->trace(m_sourceInfos);
+ visitor->trace(m_protect);
+ MediaStreamTrackSourcesRequest::trace(visitor);
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698