Index: sandbox/linux/seccomp-bpf/bpf_tester_compatibility_delegate.h |
diff --git a/sandbox/linux/seccomp-bpf/bpf_tester_compatibility_delegate.h b/sandbox/linux/seccomp-bpf/bpf_tester_compatibility_delegate.h |
index edaa4bfa80fec30e67227165fba242494baab4e1..18699138d551258601ad4f571f246e108b4c8803 100644 |
--- a/sandbox/linux/seccomp-bpf/bpf_tester_compatibility_delegate.h |
+++ b/sandbox/linux/seccomp-bpf/bpf_tester_compatibility_delegate.h |
@@ -27,13 +27,12 @@ class BPFTesterCompatibilityDelegate : public BPFTesterDelegate { |
virtual ~BPFTesterCompatibilityDelegate() {} |
- virtual scoped_ptr<bpf_dsl::SandboxBPFDSLPolicy> GetSandboxBPFPolicy() |
- override { |
+ virtual scoped_ptr<bpf_dsl::Policy> GetSandboxBPFPolicy() override { |
// The current method is guaranteed to only run in the child process |
// running the test. In this process, the current object is guaranteed |
// to live forever. So it's ok to pass aux_pointer_for_policy_ to |
// the policy, which could in turn pass it to the kernel via Trap(). |
- return scoped_ptr<bpf_dsl::SandboxBPFDSLPolicy>(new Policy(&aux_)); |
+ return scoped_ptr<bpf_dsl::Policy>(new Policy(&aux_)); |
} |
virtual void RunTestFunction() override { |