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 |