Index: webrtc/modules/desktop_capture/desktop_frame_win.h |
diff --git a/webrtc/modules/desktop_capture/desktop_frame_win.h b/webrtc/modules/desktop_capture/desktop_frame_win.h |
index fffaeab54e3fb098a1e34e924d882ae9144a78c2..929d23c0e56af6fcef478aadf62877ab64f9b150 100644 |
--- a/webrtc/modules/desktop_capture/desktop_frame_win.h |
+++ b/webrtc/modules/desktop_capture/desktop_frame_win.h |
@@ -11,9 +11,10 @@ |
#ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_DESKTOP_FRAME_WIN_H_ |
#define WEBRTC_MODULES_DESKTOP_CAPTURE_DESKTOP_FRAME_WIN_H_ |
+#include <memory> |
+ |
#include <windows.h> |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/modules/desktop_capture/desktop_frame.h" |
#include "webrtc/typedefs.h" |
@@ -34,11 +35,11 @@ class DesktopFrameWin : public DesktopFrame { |
DesktopFrameWin(DesktopSize size, |
int stride, |
uint8_t* data, |
- rtc::scoped_ptr<SharedMemory> shared_memory, |
+ std::unique_ptr<SharedMemory> shared_memory, |
HBITMAP bitmap); |
HBITMAP bitmap_; |
- rtc::scoped_ptr<SharedMemory> owned_shared_memory_; |
+ std::unique_ptr<SharedMemory> owned_shared_memory_; |
RTC_DISALLOW_COPY_AND_ASSIGN(DesktopFrameWin); |
}; |