Index: media/base/audio_converter_perftest.cc |
diff --git a/media/base/audio_converter_perftest.cc b/media/base/audio_converter_perftest.cc |
index 92bff2913084b427ae96987cf0f5a4bb0cf1e591..092688e11be4b36025a474b89a1d52e45fcf1d6a 100644 |
--- a/media/base/audio_converter_perftest.cc |
+++ b/media/base/audio_converter_perftest.cc |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <memory> |
+ |
#include "base/time/time.h" |
#include "media/base/audio_converter.h" |
#include "media/base/fake_audio_render_callback.h" |
@@ -32,7 +34,7 @@ void RunConvertBenchmark(const AudioParameters& in_params, |
NullInputProvider fake_input1; |
NullInputProvider fake_input2; |
NullInputProvider fake_input3; |
- scoped_ptr<AudioBus> output_bus = AudioBus::Create(out_params); |
+ std::unique_ptr<AudioBus> output_bus = AudioBus::Create(out_params); |
AudioConverter converter(in_params, out_params, !fifo); |
converter.AddInput(&fake_input1); |