Index: webrtc/test/frame_generator.cc |
diff --git a/webrtc/test/frame_generator.cc b/webrtc/test/frame_generator.cc |
index 3287abab816ef82021668b802300d53d3acb75fd..4da909d669ba899120d34a977a81249baefa472e 100644 |
--- a/webrtc/test/frame_generator.cc |
+++ b/webrtc/test/frame_generator.cc |
@@ -13,6 +13,8 @@ |
#include <stdio.h> |
#include <string.h> |
+#include <memory> |
+ |
#include "webrtc/base/checks.h" |
#include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
#include "webrtc/system_wrappers/include/clock.h" |
@@ -121,7 +123,7 @@ class YuvFileGenerator : public FrameGenerator { |
const size_t width_; |
const size_t height_; |
const size_t frame_size_; |
- const rtc::scoped_ptr<uint8_t[]> frame_buffer_; |
+ const std::unique_ptr<uint8_t[]> frame_buffer_; |
const int frame_display_count_; |
int current_display_count_; |
VideoFrame last_read_frame_; |