| Index: media/cast/receiver/audio_decoder.h
|
| diff --git a/media/cast/receiver/audio_decoder.h b/media/cast/receiver/audio_decoder.h
|
| index c452bf4971e91acd4d0791c6c0d46553584892a9..0ba78212432bd933c7d20ff47e03ae559aed906a 100644
|
| --- a/media/cast/receiver/audio_decoder.h
|
| +++ b/media/cast/receiver/audio_decoder.h
|
| @@ -24,8 +24,9 @@ class AudioDecoder {
|
| // be false if the decoder has detected a frame skip since the last decode
|
| // operation; and the client should take steps to smooth audio discontinuities
|
| // in this case.
|
| - typedef base::Callback<void(scoped_ptr<AudioBus> audio_bus,
|
| - bool is_continuous)> DecodeFrameCallback;
|
| + typedef base::Callback<void(std::unique_ptr<AudioBus> audio_bus,
|
| + bool is_continuous)>
|
| + DecodeFrameCallback;
|
|
|
| AudioDecoder(const scoped_refptr<CastEnvironment>& cast_environment,
|
| int channels,
|
| @@ -45,7 +46,7 @@ class AudioDecoder {
|
| // monotonically-increasing by 1 for each successive call to this method.
|
| // When it is not, the decoder will assume one or more frames have been
|
| // dropped (e.g., due to packet loss), and will perform recovery actions.
|
| - void DecodeFrame(scoped_ptr<EncodedFrame> encoded_frame,
|
| + void DecodeFrame(std::unique_ptr<EncodedFrame> encoded_frame,
|
| const DecodeFrameCallback& callback);
|
|
|
| private:
|
|
|