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

Unified Diff: webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc

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/desktop_and_cursor_composer.cc
diff --git a/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc b/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc
index 5da8beebb6e9936b086918355e6ee51345817814..55afedeabf1094b6d5eece10e84914079d8131ca 100644
--- a/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc
+++ b/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc
@@ -62,10 +62,10 @@ class DesktopFrameWithCursor : public DesktopFrame {
virtual ~DesktopFrameWithCursor();
private:
- rtc::scoped_ptr<DesktopFrame> original_frame_;
+ std::unique_ptr<DesktopFrame> original_frame_;
DesktopVector restore_position_;
- rtc::scoped_ptr<DesktopFrame> restore_frame_;
+ std::unique_ptr<DesktopFrame> restore_frame_;
RTC_DISALLOW_COPY_AND_ASSIGN(DesktopFrameWithCursor);
};

Powered by Google App Engine
This is Rietveld 408576698