| Index: components/nacl/loader/sandbox_linux/nacl_sandbox_linux.cc
|
| diff --git a/components/nacl/loader/sandbox_linux/nacl_sandbox_linux.cc b/components/nacl/loader/sandbox_linux/nacl_sandbox_linux.cc
|
| index b66330df805f734c819ed7336201cce270a3d8b1..3b7e07f675fc0855c616a64eb3e226aaa90946b3 100644
|
| --- a/components/nacl/loader/sandbox_linux/nacl_sandbox_linux.cc
|
| +++ b/components/nacl/loader/sandbox_linux/nacl_sandbox_linux.cc
|
| @@ -11,8 +11,8 @@
|
| #include <sys/stat.h>
|
| #include <sys/types.h>
|
| #include <unistd.h>
|
| -
|
| #include <limits>
|
| +#include <utility>
|
|
|
| #include "base/callback.h"
|
| #include "base/command_line.h"
|
| @@ -191,7 +191,7 @@ void NaClSandbox::InitializeLayerTwoSandbox(bool uses_nonsfi_mode) {
|
| layer_two_is_nonsfi_ = true;
|
| #else
|
| CHECK(!uses_nonsfi_mode);
|
| - layer_two_enabled_ = nacl::InitializeBPFSandbox(proc_fd_.Pass());
|
| + layer_two_enabled_ = nacl::InitializeBPFSandbox(std::move(proc_fd_));
|
| #endif
|
| }
|
|
|
|
|