Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1523)

Unified Diff: webrtc/modules/desktop_capture/mouse_cursor.h

Issue 1743203002: Replace scoped_ptr with unique_ptr in webrtc/modules/desktop_capture/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: More Windows reverts Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698