| Index: media/cast/receiver/frame_receiver.h
|
| diff --git a/media/cast/receiver/frame_receiver.h b/media/cast/receiver/frame_receiver.h
|
| index dfda44fd4316c47128ac79948f34da52f3cfb5a9..7db6ef0a41777d33cfb1886c823005180736b8ac 100644
|
| --- a/media/cast/receiver/frame_receiver.h
|
| +++ b/media/cast/receiver/frame_receiver.h
|
| @@ -50,8 +50,7 @@ class CastEnvironment;
|
| //
|
| // This class is not thread safe. Should only be called from the Main cast
|
| // thread.
|
| -class FrameReceiver : public RtpPayloadFeedback,
|
| - public base::SupportsWeakPtr<FrameReceiver> {
|
| +class FrameReceiver : public RtpPayloadFeedback {
|
| public:
|
| FrameReceiver(const scoped_refptr<CastEnvironment>& cast_environment,
|
| const FrameReceiverConfig& config,
|
| @@ -70,6 +69,8 @@ class FrameReceiver : public RtpPayloadFeedback,
|
| // out-of-order. Returns true if the parsing of the packet succeeded.
|
| bool ProcessPacket(std::unique_ptr<Packet> packet);
|
|
|
| + base::WeakPtr<FrameReceiver> AsWeakPtr();
|
| +
|
| protected:
|
| friend class FrameReceiverTest; // Invokes ProcessParsedPacket().
|
|
|
|
|