Index: media/cast/cast_sender.h |
diff --git a/media/cast/cast_sender.h b/media/cast/cast_sender.h |
index f4d36539b44364822e794ab3fd6c81e23f4f6671..3fb7f3265300c84c8cec0ab90519293344c0abdf 100644 |
--- a/media/cast/cast_sender.h |
+++ b/media/cast/cast_sender.h |
@@ -56,7 +56,11 @@ class FrameInput : public base::RefCountedThreadSafe<PacketReceiver> { |
const base::TimeTicks& recorded_time, |
const base::Closure callback) = 0; |
+ protected: |
virtual ~FrameInput() {} |
+ |
+ private: |
+ friend class base::RefCountedThreadSafe<FrameInput>; |
}; |
// This Class is thread safe. |