| Index: webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc
|
| diff --git a/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc b/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc
|
| index feb3ed1f0a2980184f3e0da13180746532104ff7..fbfd999d39855b067299566a912368ef4eb46778 100644
|
| --- a/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc
|
| +++ b/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc
|
| @@ -8,10 +8,10 @@
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
|
|
| +#include <memory>
|
| #include <vector>
|
|
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| -#include "webrtc/base/scoped_ptr.h"
|
| #include "webrtc/common_audio/vad/mock/mock_vad.h"
|
| #include "webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.h"
|
| #include "webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h"
|
| @@ -185,7 +185,7 @@ class AudioEncoderCngTest : public ::testing::Test {
|
| }
|
|
|
| AudioEncoderCng::Config config_;
|
| - rtc::scoped_ptr<AudioEncoderCng> cng_;
|
| + std::unique_ptr<AudioEncoderCng> cng_;
|
| MockAudioEncoder mock_encoder_;
|
| MockVad* mock_vad_; // Ownership is transferred to |cng_|.
|
| uint32_t timestamp_;
|
|
|