| Index: media/cast/cast_sender_impl.h
|
| diff --git a/media/cast/cast_sender_impl.h b/media/cast/cast_sender_impl.h
|
| index 85b8669192a917204ae19a0492913bccae85dc95..aacb9dfa61ba328cc452db206298bc035765defa 100644
|
| --- a/media/cast/cast_sender_impl.h
|
| +++ b/media/cast/cast_sender_impl.h
|
| @@ -57,6 +57,9 @@ class CastSenderImpl : public CastSender {
|
| transport::CastTransportSender* const transport_sender_;
|
| uint32 ssrc_of_audio_sender_;
|
| uint32 ssrc_of_video_sender_;
|
| +
|
| + // NOTE: This must always be last so it's invalidated before other member
|
| + // variables might be accessed.
|
| base::WeakPtrFactory<CastSenderImpl> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(CastSenderImpl);
|
|
|