| Index: media/cast/cast_receiver.h
|
| diff --git a/media/cast/cast_receiver.h b/media/cast/cast_receiver.h
|
| index a2eef7656079adac3e5677464890b56c77dbdd48..a36a626b7ff59f3da377da90ea5b5f1a260b13df 100644
|
| --- a/media/cast/cast_receiver.h
|
| +++ b/media/cast/cast_receiver.h
|
| @@ -47,7 +47,11 @@ class FrameReceiver : public base::RefCountedThreadSafe<FrameReceiver>{
|
|
|
| virtual void ReleaseCodedAudioFrame(uint8 frame_id) = 0;
|
|
|
| + protected:
|
| virtual ~FrameReceiver() {}
|
| +
|
| + private:
|
| + friend class base::RefCountedThreadSafe<FrameReceiver>;
|
| };
|
|
|
| // This Class is thread safe.
|
|
|