| Index: components/nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc
|
| diff --git a/components/nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc b/components/nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc
|
| index ab918cb8bc42ecce809feb4c9ebce2ecdbb44522..ec27126e4a18e32814f9955fe7b5991bcce30ed4 100644
|
| --- a/components/nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc
|
| +++ b/components/nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc
|
| @@ -59,9 +59,9 @@ void DoSocketpair(base::ScopedFD* fds) {
|
| }
|
|
|
| TEST(NaClNonSfiSandboxTest, BPFIsSupported) {
|
| - bool seccomp_bpf_supported = (
|
| - sandbox::SandboxBPF::SupportsSeccompSandbox() ==
|
| - sandbox::SandboxBPF::STATUS_AVAILABLE);
|
| + bool seccomp_bpf_supported = sandbox::SandboxBPF::SupportsSeccompSandbox(
|
| + sandbox::SandboxBPF::SeccompLevel::SINGLE_THREADED);
|
| +
|
| if (!seccomp_bpf_supported) {
|
| LOG(ERROR) << "Seccomp BPF is not supported, these tests "
|
| << "will pass without running";
|
|
|