Index: webrtc/modules/desktop_capture/screen_capture_frame_queue.h |
diff --git a/webrtc/modules/desktop_capture/screen_capture_frame_queue.h b/webrtc/modules/desktop_capture/screen_capture_frame_queue.h |
index 6cd9e3bfc8e1c83ae7bc2ab513575883584feb52..21af0f320fc277952c4515b547d9ab98492a2a15 100644 |
--- a/webrtc/modules/desktop_capture/screen_capture_frame_queue.h |
+++ b/webrtc/modules/desktop_capture/screen_capture_frame_queue.h |
@@ -11,7 +11,8 @@ |
#ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_SCREEN_CAPTURE_FRAME_QUEUE_H_ |
#define WEBRTC_MODULES_DESKTOP_CAPTURE_SCREEN_CAPTURE_FRAME_QUEUE_H_ |
-#include "webrtc/base/scoped_ptr.h" |
+#include <memory> |
+ |
#include "webrtc/modules/desktop_capture/shared_desktop_frame.h" |
#include "webrtc/typedefs.h" |
@@ -64,7 +65,7 @@ class ScreenCaptureFrameQueue { |
int current_; |
static const int kQueueLength = 2; |
- rtc::scoped_ptr<SharedDesktopFrame> frames_[kQueueLength]; |
+ std::unique_ptr<SharedDesktopFrame> frames_[kQueueLength]; |
RTC_DISALLOW_COPY_AND_ASSIGN(ScreenCaptureFrameQueue); |
}; |