Index: sandbox/linux/seccomp-bpf/sandbox_bpf.h |
diff --git a/sandbox/linux/seccomp-bpf/sandbox_bpf.h b/sandbox/linux/seccomp-bpf/sandbox_bpf.h |
index e758e03121408aba0523c1f501efcc5540a08466..1637b26ea5f59b681ec24a35a5a744927dadd439 100644 |
--- a/sandbox/linux/seccomp-bpf/sandbox_bpf.h |
+++ b/sandbox/linux/seccomp-bpf/sandbox_bpf.h |
@@ -7,9 +7,10 @@ |
#include <stdint.h> |
+#include <memory> |
+ |
#include "base/files/scoped_file.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "sandbox/linux/bpf_dsl/codegen.h" |
#include "sandbox/sandbox_export.h" |
@@ -104,7 +105,7 @@ class SANDBOX_EXPORT SandboxBPF { |
base::ScopedFD proc_fd_; |
bool sandbox_has_started_; |
- scoped_ptr<bpf_dsl::Policy> policy_; |
+ std::unique_ptr<bpf_dsl::Policy> policy_; |
DISALLOW_COPY_AND_ASSIGN(SandboxBPF); |
}; |