Index: webrtc/modules/desktop_capture/desktop_capturer.h |
diff --git a/webrtc/modules/desktop_capture/desktop_capturer.h b/webrtc/modules/desktop_capture/desktop_capturer.h |
index 9c2b8c308a92d65b135f20cd1a925e687dec904a..ba70e0155373410475cff8b27a8362bae453b265 100644 |
--- a/webrtc/modules/desktop_capture/desktop_capturer.h |
+++ b/webrtc/modules/desktop_capture/desktop_capturer.h |
@@ -13,7 +13,8 @@ |
#include <stddef.h> |
-#include "webrtc/base/scoped_ptr.h" |
+#include <memory> |
+ |
#include "webrtc/modules/desktop_capture/desktop_capture_types.h" |
#include "webrtc/modules/desktop_capture/shared_memory.h" |
@@ -48,7 +49,7 @@ class DesktopCapturer { |
// where Capture() is called. It will be destroyed on the same thread. Shared |
// memory is currently supported only by some DesktopCapturer implementations. |
virtual void SetSharedMemoryFactory( |
- rtc::scoped_ptr<SharedMemoryFactory> shared_memory_factory) {} |
+ std::unique_ptr<SharedMemoryFactory> shared_memory_factory) {} |
// Captures next frame. |region| specifies region of the capture target that |
// should be fresh in the resulting frame. The frame may also include fresh |