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

Unified Diff: services/shell/runner/host/out_of_process_native_runner.cc

Issue 2259823003: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: services/shell/runner/host/out_of_process_native_runner.cc
diff --git a/services/shell/runner/host/out_of_process_native_runner.cc b/services/shell/runner/host/out_of_process_native_runner.cc
index 2b693d7308453af79ac02d3b53bc651e45a1e5f3..dc4056d16e9d5ccbe90586ead52f35fe39df430d 100644
--- a/services/shell/runner/host/out_of_process_native_runner.cc
+++ b/services/shell/runner/host/out_of_process_native_runner.cc
@@ -68,8 +68,8 @@ OutOfProcessNativeRunnerFactory::~OutOfProcessNativeRunnerFactory() {}
std::unique_ptr<NativeRunner> OutOfProcessNativeRunnerFactory::Create(
const base::FilePath& app_path) {
- return base::WrapUnique(
- new OutOfProcessNativeRunner(launch_process_runner_, delegate_));
+ return base::MakeUnique<OutOfProcessNativeRunner>(launch_process_runner_,
+ delegate_);
}
} // namespace shell
« no previous file with comments | « services/shell/runner/host/in_process_native_runner.cc ('k') | services/shell/tests/connect/connect_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698