Index: webrtc/common_video/include/video_frame_buffer.h |
diff --git a/webrtc/common_video/include/video_frame_buffer.h b/webrtc/common_video/include/video_frame_buffer.h |
index 191f83e1817049c639de9e93209d6518b14ad2aa..270f2d5a2d036b20f09fff61bc3bdba160b7b8e0 100644 |
--- a/webrtc/common_video/include/video_frame_buffer.h |
+++ b/webrtc/common_video/include/video_frame_buffer.h |
@@ -11,9 +11,12 @@ |
#ifndef WEBRTC_COMMON_VIDEO_INCLUDE_VIDEO_FRAME_BUFFER_H_ |
#define WEBRTC_COMMON_VIDEO_INCLUDE_VIDEO_FRAME_BUFFER_H_ |
+#include <stdint.h> |
+ |
+#include <memory> |
+ |
#include "webrtc/base/callback.h" |
#include "webrtc/base/refcount.h" |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/base/scoped_ref_ptr.h" |
#include "webrtc/system_wrappers/include/aligned_malloc.h" |
@@ -87,7 +90,7 @@ class I420Buffer : public VideoFrameBuffer { |
const int stride_y_; |
const int stride_u_; |
const int stride_v_; |
- const rtc::scoped_ptr<uint8_t, AlignedFreeDeleter> data_; |
+ const std::unique_ptr<uint8_t, AlignedFreeDeleter> data_; |
}; |
// Base class for native-handle buffer is a wrapper around a |native_handle|. |