| Index: webrtc/modules/audio_processing/echo_cancellation_impl_unittest.cc
|
| diff --git a/webrtc/modules/audio_processing/echo_cancellation_impl_unittest.cc b/webrtc/modules/audio_processing/echo_cancellation_impl_unittest.cc
|
| index 7f152bf9422fe27bb011e37745e73b674119195b..163e420662311ca6bdbdec9bb2aacc2d1d529d06 100644
|
| --- a/webrtc/modules/audio_processing/echo_cancellation_impl_unittest.cc
|
| +++ b/webrtc/modules/audio_processing/echo_cancellation_impl_unittest.cc
|
| @@ -8,8 +8,9 @@
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
|
|
| +#include <memory>
|
| +
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| -#include "webrtc/base/scoped_ptr.h"
|
| extern "C" {
|
| #include "webrtc/modules/audio_processing/aec/aec_core.h"
|
| }
|
| @@ -18,7 +19,7 @@ extern "C" {
|
| namespace webrtc {
|
|
|
| TEST(EchoCancellationInternalTest, ExtendedFilter) {
|
| - rtc::scoped_ptr<AudioProcessing> ap(AudioProcessing::Create());
|
| + std::unique_ptr<AudioProcessing> ap(AudioProcessing::Create());
|
| EXPECT_TRUE(ap->echo_cancellation()->aec_core() == NULL);
|
|
|
| EXPECT_EQ(ap->kNoError, ap->echo_cancellation()->Enable(true));
|
| @@ -48,7 +49,7 @@ TEST(EchoCancellationInternalTest, ExtendedFilter) {
|
| }
|
|
|
| TEST(EchoCancellationInternalTest, DelayAgnostic) {
|
| - rtc::scoped_ptr<AudioProcessing> ap(AudioProcessing::Create());
|
| + std::unique_ptr<AudioProcessing> ap(AudioProcessing::Create());
|
| EXPECT_TRUE(ap->echo_cancellation()->aec_core() == NULL);
|
|
|
| EXPECT_EQ(ap->kNoError, ap->echo_cancellation()->Enable(true));
|
|
|