Index: Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.h |
diff --git a/Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.h b/Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.h |
index c02bc7826de59d3308a37c8c2f3fc82d35990043..3aa6584c009ebab425ebb89da94088081e871b46 100644 |
--- a/Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.h |
+++ b/Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.h |
@@ -43,12 +43,14 @@ class MediaStreamTrackSourcesCallback; |
class MediaStreamTrackSourcesRequestImpl FINAL : public MediaStreamTrackSourcesRequest { |
public: |
- static PassRefPtr<MediaStreamTrackSourcesRequestImpl> create(const String&, PassOwnPtr<MediaStreamTrackSourcesCallback>); |
+ static PassRefPtrWillBeRawPtr<MediaStreamTrackSourcesRequestImpl> create(const String&, PassOwnPtr<MediaStreamTrackSourcesCallback>); |
~MediaStreamTrackSourcesRequestImpl(); |
virtual String origin() { return m_origin; } |
virtual void requestSucceeded(const blink::WebVector<blink::WebSourceInfo>&); |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
private: |
MediaStreamTrackSourcesRequestImpl(const String&, PassOwnPtr<MediaStreamTrackSourcesCallback>); |
@@ -58,7 +60,7 @@ private: |
String m_origin; |
Timer<MediaStreamTrackSourcesRequestImpl> m_scheduledEventTimer; |
SourceInfoVector m_sourceInfos; |
- RefPtr<MediaStreamTrackSourcesRequest> m_protect; |
+ RefPtrWillBeMember<MediaStreamTrackSourcesRequest> m_protect; |
}; |
} // namespace WebCore |