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

Unified Diff: webrtc/modules/desktop_capture/win/scoped_thread_desktop.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/win/scoped_thread_desktop.cc
diff --git a/webrtc/modules/desktop_capture/win/scoped_thread_desktop.cc b/webrtc/modules/desktop_capture/win/scoped_thread_desktop.cc
index 12f9e89e96a7afd113c38da1540c30a8b6ec5ade..2d829d329361b4a45a22353645b4be6ec8c65810 100644
--- a/webrtc/modules/desktop_capture/win/scoped_thread_desktop.cc
+++ b/webrtc/modules/desktop_capture/win/scoped_thread_desktop.cc
@@ -42,7 +42,7 @@ void ScopedThreadDesktop::Revert() {
bool ScopedThreadDesktop::SetThreadDesktop(Desktop* desktop) {
Revert();
- rtc::scoped_ptr<Desktop> scoped_desktop(desktop);
+ std::unique_ptr<Desktop> scoped_desktop(desktop);
if (initial_->IsSame(*desktop))
return true;

Powered by Google App Engine
This is Rietveld 408576698