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

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

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.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

Powered by Google App Engine
This is Rietveld 408576698