| Index: webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc
|
| diff --git a/webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc b/webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc
|
| index b6112d1881ca478abac985113a572f688915f414..cdfa62b752c7940fb70381c25a1fa992e53b86a9 100644
|
| --- a/webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc
|
| +++ b/webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc
|
| @@ -7,6 +7,8 @@
|
| * in the file PATENTS. All contributing project authors may
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
| +
|
| +#include <memory>
|
| #include <string>
|
|
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -636,7 +638,7 @@ TEST_P(OpusTest, OpusDecodeRepacketized) {
|
|
|
| // Encode & decode.
|
| int16_t audio_type;
|
| - rtc::scoped_ptr<int16_t[]> output_data_decode(
|
| + std::unique_ptr<int16_t[]> output_data_decode(
|
| new int16_t[kPackets * kOpus20msFrameSamples * channels_]);
|
| OpusRepacketizer* rp = opus_repacketizer_create();
|
|
|
|
|