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

Unified Diff: remoting/host/disconnect_window_android.cc

Issue 2253233004: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/disconnect_window_android.cc
diff --git a/remoting/host/disconnect_window_android.cc b/remoting/host/disconnect_window_android.cc
index 81750d7d917a9b9360edbe6d539f465bd82d3583..cd82e1e4a951a2aa7b9eb4bc686df8c9ea168b26 100644
--- a/remoting/host/disconnect_window_android.cc
+++ b/remoting/host/disconnect_window_android.cc
@@ -29,7 +29,7 @@ class DisconnectWindowAndroid : public HostWindow {
// static
std::unique_ptr<HostWindow> HostWindow::CreateDisconnectWindow() {
- return base::WrapUnique(new DisconnectWindowAndroid());
+ return base::MakeUnique<DisconnectWindowAndroid>();
}
} // namespace remoting
« no previous file with comments | « remoting/host/desktop_session_win.cc ('k') | remoting/host/disconnect_window_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698