Index: mojo/shell/runner/host/linux_sandbox.h |
diff --git a/mojo/shell/runner/host/linux_sandbox.h b/mojo/shell/runner/host/linux_sandbox.h |
index 9cf5e7de2f5f2742acf461af3cd8a0b0e8f732f5..df81cf4d7ef59016db1319ab07ec0670c2b7c21d 100644 |
--- a/mojo/shell/runner/host/linux_sandbox.h |
+++ b/mojo/shell/runner/host/linux_sandbox.h |
@@ -5,6 +5,8 @@ |
#ifndef MOJO_SHELL_RUNNER_HOST_LINUX_SANDBOX_H_ |
#define MOJO_SHELL_RUNNER_HOST_LINUX_SANDBOX_H_ |
+#include <memory> |
+ |
#include "base/files/scoped_file.h" |
#include "base/macros.h" |
#include "sandbox/linux/bpf_dsl/bpf_dsl.h" |
@@ -39,8 +41,8 @@ class LinuxSandbox { |
private: |
bool warmed_up_; |
base::ScopedFD proc_fd_; |
- scoped_ptr<sandbox::syscall_broker::BrokerProcess> broker_; |
- scoped_ptr<sandbox::bpf_dsl::Policy> policy_; |
+ std::unique_ptr<sandbox::syscall_broker::BrokerProcess> broker_; |
+ std::unique_ptr<sandbox::bpf_dsl::Policy> policy_; |
DISALLOW_COPY_AND_ASSIGN(LinuxSandbox); |
}; |