Index: webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc |
diff --git a/webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc b/webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc |
index 9e546653db1ff0ad40460eb0f60827f81749725e..33dae8d8e4c6f8daae5ffee2b4383c2833ecbb93 100644 |
--- a/webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc |
+++ b/webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc |
@@ -8,9 +8,10 @@ |
* 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/checks.h" |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/common_video/include/video_image.h" |
#include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
#include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" |
@@ -147,7 +148,7 @@ int SequenceCoder(webrtc::test::CommandLineParser* parser) { |
EXPECT_EQ(0, decoder->InitDecode(&inst, 1)); |
webrtc::VideoFrame input_frame; |
size_t length = webrtc::CalcBufferSize(webrtc::kI420, width, height); |
- rtc::scoped_ptr<uint8_t[]> frame_buffer(new uint8_t[length]); |
+ std::unique_ptr<uint8_t[]> frame_buffer(new uint8_t[length]); |
int half_width = (width + 1) / 2; |
// Set and register callbacks. |