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

Unified Diff: remoting/host/win/session_desktop_environment.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/token_validator_factory_impl_unittest.cc ('k') | remoting/protocol/authenticator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/session_desktop_environment.cc
diff --git a/remoting/host/win/session_desktop_environment.cc b/remoting/host/win/session_desktop_environment.cc
index ef3aacb7a23777f38a672eb1aa272749e96052b0..72e83824f348bf3741d2fa3278bd82581585b4b9 100644
--- a/remoting/host/win/session_desktop_environment.cc
+++ b/remoting/host/win/session_desktop_environment.cc
@@ -23,10 +23,10 @@ std::unique_ptr<InputInjector>
SessionDesktopEnvironment::CreateInputInjector() {
DCHECK(caller_task_runner()->BelongsToCurrentThread());
- return base::WrapUnique(new SessionInputInjectorWin(
+ return base::MakeUnique<SessionInputInjectorWin>(
input_task_runner(),
InputInjector::Create(input_task_runner(), ui_task_runner()),
- ui_task_runner(), inject_sas_, lock_workstation_));
+ ui_task_runner(), inject_sas_, lock_workstation_);
}
SessionDesktopEnvironment::SessionDesktopEnvironment(
« no previous file with comments | « remoting/host/token_validator_factory_impl_unittest.cc ('k') | remoting/protocol/authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698