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; |