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 ba70e0155373410475cff8b27a8362bae453b265..9c2b8c308a92d65b135f20cd1a925e687dec904a 100644 |
--- a/webrtc/modules/desktop_capture/desktop_capturer.h |
+++ b/webrtc/modules/desktop_capture/desktop_capturer.h |
@@ -13,8 +13,7 @@ |
#include <stddef.h> |
-#include <memory> |
- |
+#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/modules/desktop_capture/desktop_capture_types.h" |
#include "webrtc/modules/desktop_capture/shared_memory.h" |
@@ -49,7 +48,7 @@ |
// 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( |
- std::unique_ptr<SharedMemoryFactory> shared_memory_factory) {} |
+ rtc::scoped_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 |