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

Unified Diff: content/common/sandbox_linux/sandbox_init_linux.cc

Issue 1544293002: Convert Pass()→std::move() in //content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « content/common/mojo/service_registry_impl.cc ('k') | content/common/service_port_type_converters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_linux/sandbox_init_linux.cc
diff --git a/content/common/sandbox_linux/sandbox_init_linux.cc b/content/common/sandbox_linux/sandbox_init_linux.cc
index f834f909a6403f070c9aec1933ddd4d7ebdeaad8..111903441fafb26ace22b95e053a8bdb05d62adc 100644
--- a/content/common/sandbox_linux/sandbox_init_linux.cc
+++ b/content/common/sandbox_linux/sandbox_init_linux.cc
@@ -16,13 +16,13 @@ namespace content {
bool InitializeSandbox(scoped_ptr<sandbox::bpf_dsl::Policy> policy,
base::ScopedFD proc_fd) {
- return SandboxSeccompBPF::StartSandboxWithExternalPolicy(policy.Pass(),
+ return SandboxSeccompBPF::StartSandboxWithExternalPolicy(std::move(policy),
std::move(proc_fd));
}
#if !defined(OS_NACL_NONSFI)
scoped_ptr<sandbox::bpf_dsl::Policy> GetBPFSandboxBaselinePolicy() {
- return SandboxSeccompBPF::GetBaselinePolicy().Pass();
+ return SandboxSeccompBPF::GetBaselinePolicy();
}
#endif // !defined(OS_NACL_NONSFI)
« no previous file with comments | « content/common/mojo/service_registry_impl.cc ('k') | content/common/service_port_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698