Index: Source/modules/mediastream/MediaStreamTrackEvent.h |
diff --git a/Source/modules/mediastream/MediaStreamTrackEvent.h b/Source/modules/mediastream/MediaStreamTrackEvent.h |
index eda894a016b2041e7ee73aee469e36d6daf931d6..6c13648549137e14c78edbffde4fdabd26470539 100644 |
--- a/Source/modules/mediastream/MediaStreamTrackEvent.h |
+++ b/Source/modules/mediastream/MediaStreamTrackEvent.h |
@@ -37,7 +37,7 @@ public: |
virtual ~MediaStreamTrackEvent(); |
static PassRefPtr<MediaStreamTrackEvent> create(); |
- static PassRefPtr<MediaStreamTrackEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStreamTrack>); |
+ static PassRefPtr<MediaStreamTrackEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<MediaStreamTrack>); |
MediaStreamTrack* track() const; |
@@ -46,9 +46,9 @@ public: |
private: |
MediaStreamTrackEvent(); |
- MediaStreamTrackEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStreamTrack>); |
+ MediaStreamTrackEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<MediaStreamTrack>); |
- RefPtr<MediaStreamTrack> m_track; |
+ RefPtrWillBePersistent<MediaStreamTrack> m_track; |
}; |
} // namespace WebCore |