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

Unified Diff: remoting/host/desktop_session_win.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_proxy.cc ('k') | remoting/host/disconnect_window_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_session_win.cc
diff --git a/remoting/host/desktop_session_win.cc b/remoting/host/desktop_session_win.cc
index 03c539974eeb74f88944446e18da68612907da2d..dd2e09696800e0e6810674b49672c291ddf79cfe 100644
--- a/remoting/host/desktop_session_win.cc
+++ b/remoting/host/desktop_session_win.cc
@@ -488,9 +488,9 @@ std::unique_ptr<DesktopSession> DesktopSessionWin::CreateForConsole(
DaemonProcess* daemon_process,
int id,
const ScreenResolution& resolution) {
- return base::WrapUnique(new ConsoleSession(caller_task_runner, io_task_runner,
- daemon_process, id,
- HostService::GetInstance()));
+ return base::MakeUnique<ConsoleSession>(caller_task_runner, io_task_runner,
+ daemon_process, id,
+ HostService::GetInstance());
}
// static
« no previous file with comments | « remoting/host/desktop_session_proxy.cc ('k') | remoting/host/disconnect_window_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698