Index: media/cast/cast_thread.h |
diff --git a/media/cast/cast_thread.h b/media/cast/cast_thread.h |
index 323f03d56469a196d2e4ab8aa26f285006425218..e7ccbd9c3e60b0572c5e3cdc48509e3186bac621 100644 |
--- a/media/cast/cast_thread.h |
+++ b/media/cast/cast_thread.h |
@@ -54,7 +54,12 @@ class CastThread : public base::RefCountedThreadSafe<CastThread> { |
bool CurrentlyOn(ThreadId identifier); |
+ protected: |
+ virtual ~CastThread(); |
+ |
private: |
+ friend class base::RefCountedThreadSafe<CastThread>; |
+ |
scoped_refptr<base::TaskRunner> GetMessageTaskRunnerForThread( |
ThreadId identifier); |