| Index: components/audio_modem/audio_recorder_impl.h
|
| diff --git a/components/audio_modem/audio_recorder_impl.h b/components/audio_modem/audio_recorder_impl.h
|
| index 099fc17469acc60f5743ee15a6d7bab5e9305a14..f98a95ff88e098df2bbcf62181560934a2dbb9d3 100644
|
| --- a/components/audio_modem/audio_recorder_impl.h
|
| +++ b/components/audio_modem/audio_recorder_impl.h
|
| @@ -7,11 +7,11 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include <memory>
|
| #include <string>
|
|
|
| #include "base/gtest_prod_util.h"
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "components/audio_modem/audio_recorder.h"
|
| #include "media/audio/audio_io.h"
|
| #include "media/base/audio_parameters.h"
|
| @@ -87,12 +87,12 @@ class AudioRecorderImpl final
|
|
|
| // Outside of the ctor/Initialize method, only access the next variables on
|
| // the recording thread.
|
| - scoped_ptr<media::AudioBus> buffer_;
|
| + std::unique_ptr<media::AudioBus> buffer_;
|
| int total_buffer_frames_;
|
| int buffer_frame_index_;
|
|
|
| - scoped_ptr<media::AudioInputStream> input_stream_for_testing_;
|
| - scoped_ptr<media::AudioParameters> params_for_testing_;
|
| + std::unique_ptr<media::AudioInputStream> input_stream_for_testing_;
|
| + std::unique_ptr<media::AudioParameters> params_for_testing_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(AudioRecorderImpl);
|
| };
|
|
|