Index: remoting/codec/audio_decoder_opus.h |
diff --git a/remoting/codec/audio_decoder_opus.h b/remoting/codec/audio_decoder_opus.h |
index 553f77f3a0ae54358fb6bbb00143f011a6fd0f68..5fb7d5d6d71a46021e6f18df01c982cca6eb6909 100644 |
--- a/remoting/codec/audio_decoder_opus.h |
+++ b/remoting/codec/audio_decoder_opus.h |
@@ -5,8 +5,9 @@ |
#ifndef REMOTING_CODEC_AUDIO_DECODER_OPUS_H_ |
#define REMOTING_CODEC_AUDIO_DECODER_OPUS_H_ |
+#include <memory> |
+ |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "remoting/codec/audio_decoder.h" |
struct OpusDecoder; |
@@ -21,7 +22,8 @@ class AudioDecoderOpus : public AudioDecoder { |
~AudioDecoderOpus() override; |
// AudioDecoder interface. |
- scoped_ptr<AudioPacket> Decode(scoped_ptr<AudioPacket> packet) override; |
+ std::unique_ptr<AudioPacket> Decode( |
+ std::unique_ptr<AudioPacket> packet) override; |
private: |
void InitDecoder(); |