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

Unified Diff: sandbox/mac/bootstrap_sandbox.cc

Issue 2247183007: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/mac/bootstrap_sandbox.cc
diff --git a/sandbox/mac/bootstrap_sandbox.cc b/sandbox/mac/bootstrap_sandbox.cc
index 4b3a1c6cce399becc09a58c5f449e248d3efd351..a48cb5d91d34775d6380ad3b420bf66f60c41715 100644
--- a/sandbox/mac/bootstrap_sandbox.cc
+++ b/sandbox/mac/bootstrap_sandbox.cc
@@ -158,7 +158,7 @@ std::unique_ptr<PreExecDelegate> BootstrapSandbox::NewClient(
}
awaiting_processes_[token] = sandbox_policy_id;
- return base::WrapUnique(new PreExecDelegate(server_bootstrap_name_, token));
+ return base::MakeUnique<PreExecDelegate>(server_bootstrap_name_, token);
}
void BootstrapSandbox::RevokeToken(uint64_t token) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698