| Index: content/renderer/media/media_stream_video_track.h
|
| diff --git a/content/renderer/media/media_stream_video_track.h b/content/renderer/media/media_stream_video_track.h
|
| index 9769d3bb7f13f3749fa11f354917da9596a7dbc4..3184e3c2de6e2093e1fc3249b0ee64683a9b5e9b 100644
|
| --- a/content/renderer/media/media_stream_video_track.h
|
| +++ b/content/renderer/media/media_stream_video_track.h
|
| @@ -84,10 +84,8 @@ class CONTENT_EXPORT MediaStreamVideoTrack : public MediaStreamTrack {
|
|
|
| const blink::WebMediaConstraints constraints_;
|
|
|
| - // Weak ref to the source this tracks is connected to. |source_| is owned
|
| - // by the blink::WebMediaStreamSource and is guaranteed to outlive the
|
| - // track.
|
| - MediaStreamVideoSource* source_;
|
| + // Weak ref to the source this tracks is connected to.
|
| + base::WeakPtr<MediaStreamVideoSource> source_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(MediaStreamVideoTrack);
|
| };
|
|
|