Index: webrtc/modules/desktop_capture/mouse_cursor.h |
diff --git a/webrtc/modules/desktop_capture/mouse_cursor.h b/webrtc/modules/desktop_capture/mouse_cursor.h |
index dd5dc0eb44d51046779aba2b0e4baf870c2ee617..4662feadeda64c41e6d0bdbb51b9a75bf44ce997 100644 |
--- a/webrtc/modules/desktop_capture/mouse_cursor.h |
+++ b/webrtc/modules/desktop_capture/mouse_cursor.h |
@@ -11,8 +11,9 @@ |
#ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_MOUSE_CURSOR_H_ |
#define WEBRTC_MODULES_DESKTOP_CAPTURE_MOUSE_CURSOR_H_ |
+#include <memory> |
+ |
#include "webrtc/base/constructormagic.h" |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/modules/desktop_capture/desktop_geometry.h" |
namespace webrtc { |
@@ -37,7 +38,7 @@ class MouseCursor { |
const DesktopVector& hotspot() const { return hotspot_; } |
private: |
- rtc::scoped_ptr<DesktopFrame> image_; |
+ std::unique_ptr<DesktopFrame> image_; |
DesktopVector hotspot_; |
RTC_DISALLOW_COPY_AND_ASSIGN(MouseCursor); |