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

Unified Diff: remoting/host/disconnect_window_chromeos.cc

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU Created 4 years, 8 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
« no previous file with comments | « remoting/host/desktop_session_win.cc ('k') | remoting/host/disconnect_window_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/disconnect_window_chromeos.cc
diff --git a/remoting/host/disconnect_window_chromeos.cc b/remoting/host/disconnect_window_chromeos.cc
index be1a4fa041265d60234cf654f789266ec3f6f90b..1bb7153d453510f246d996efc307c75110878dd7 100644
--- a/remoting/host/disconnect_window_chromeos.cc
+++ b/remoting/host/disconnect_window_chromeos.cc
@@ -7,6 +7,7 @@
#include "ash/shell.h"
#include "ash/system/tray/system_tray_notifier.h"
#include "base/macros.h"
+#include "base/memory/ptr_util.h"
#include "remoting/host/client_session_control.h"
#include "remoting/host/host_window.h"
@@ -48,8 +49,8 @@ void DisconnectWindowAura::Start(
} // namespace
// static
-scoped_ptr<HostWindow> HostWindow::CreateDisconnectWindow() {
- return make_scoped_ptr(new DisconnectWindowAura());
+std::unique_ptr<HostWindow> HostWindow::CreateDisconnectWindow() {
+ return base::WrapUnique(new DisconnectWindowAura());
}
} // namespace remoting
« no previous file with comments | « remoting/host/desktop_session_win.cc ('k') | remoting/host/disconnect_window_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698