| Index: sandbox/linux/seccomp-bpf/bpf_tests.h
|
| diff --git a/sandbox/linux/seccomp-bpf/bpf_tests.h b/sandbox/linux/seccomp-bpf/bpf_tests.h
|
| index cc4debd4c30b1bdc64b841bea77a1d136fc7b223..8b2b12afd8f11443f9dfbcddb7809ca669bf1256 100644
|
| --- a/sandbox/linux/seccomp-bpf/bpf_tests.h
|
| +++ b/sandbox/linux/seccomp-bpf/bpf_tests.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef SANDBOX_LINUX_SECCOMP_BPF_BPF_TESTS_H__
|
| #define SANDBOX_LINUX_SECCOMP_BPF_BPF_TESTS_H__
|
|
|
| +#include <memory>
|
| +
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "build/build_config.h"
|
| @@ -104,8 +106,8 @@ class BPFTesterSimpleDelegate : public BPFTesterDelegate {
|
| : test_function_(test_function) {}
|
| ~BPFTesterSimpleDelegate() override {}
|
|
|
| - scoped_ptr<bpf_dsl::Policy> GetSandboxBPFPolicy() override {
|
| - return scoped_ptr<bpf_dsl::Policy>(new PolicyClass());
|
| + std::unique_ptr<bpf_dsl::Policy> GetSandboxBPFPolicy() override {
|
| + return std::unique_ptr<bpf_dsl::Policy>(new PolicyClass());
|
| }
|
| void RunTestFunction() override {
|
| DCHECK(test_function_);
|
|
|