Index: components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.cc |
diff --git a/components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.cc b/components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.cc |
index 4083a3b9ca6951920841a496a005d80bb8a532dc..66a606ad30ab2078074830584bd45ea832c36242 100644 |
--- a/components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.cc |
+++ b/components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.cc |
@@ -4,6 +4,8 @@ |
#include "components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.h" |
+#include <utility> |
+ |
#include "base/macros.h" |
#include "build/build_config.h" |
@@ -166,7 +168,7 @@ bool InitializeBPFSandbox(base::ScopedFD proc_fd) { |
#if defined(USE_SECCOMP_BPF) |
bool sandbox_is_initialized = content::InitializeSandbox( |
scoped_ptr<sandbox::bpf_dsl::Policy>(new NaClBPFSandboxPolicy), |
- proc_fd.Pass()); |
+ std::move(proc_fd)); |
if (sandbox_is_initialized) { |
RunSandboxSanityChecks(); |
return true; |