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

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: Rebased 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/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
« no previous file with comments | « Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.h ('k') | Source/modules/mediastream/NavigatorMediaStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698