| Index: chrome/renderer/media/cast_session_delegate.h
|
| diff --git a/chrome/renderer/media/cast_session_delegate.h b/chrome/renderer/media/cast_session_delegate.h
|
| index 1f59e9daa51f6af985964e263a3d2fdcc88f90ee..64da1d1d0a4b2fff4a64b0512c52dcfb3d473177 100644
|
| --- a/chrome/renderer/media/cast_session_delegate.h
|
| +++ b/chrome/renderer/media/cast_session_delegate.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/threading/thread.h"
|
| #include "base/threading/thread_checker.h"
|
| #include "base/time/default_tick_clock.h"
|
| @@ -99,6 +100,7 @@ class CastSessionDelegate {
|
|
|
| // Proxy to the IO message loop.
|
| scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
|
| + base::WeakPtrFactory<CastSessionDelegate> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(CastSessionDelegate);
|
| };
|
|
|