Index: sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc |
diff --git a/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc b/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc |
index 97811c1e47aa0ba1f0b1dd6dc63dc82767ebc61b..9d67db8155336597c72ab8ef1b3a28963d7aa45a 100644 |
--- a/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc |
+++ b/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc |
@@ -22,7 +22,6 @@ |
#include "base/memory/scoped_ptr.h" |
#include "build/build_config.h" |
-#include "build/build_config_functions.h" |
#include "sandbox/linux/seccomp-bpf/bpf_tests.h" |
#include "sandbox/linux/seccomp-bpf/syscall.h" |
#include "sandbox/linux/seccomp-bpf/trap.h" |
@@ -260,7 +259,7 @@ |
// On Android, errno is only supported up to 255, otherwise errno |
// processing is skipped. |
// We work around this (crbug.com/181647). |
- if (build::IsAndroid() && setgid(0) != -1) { |
+ if (sandbox::IsAndroid() && setgid(0) != -1) { |
errno = 0; |
BPF_ASSERT(setgid(0) == -ErrorCode::ERR_MAX_ERRNO); |
BPF_ASSERT(errno == 0); |