diff --git a/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp b/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp index 12c9a7b..eb39cb8 100644 --- a/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp +++ b/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp @@ -41,6 +41,11 @@ #include #include +#if OS(LINUX) && defined(MADV_FREE) +// Added in Linux 4.5, but it breaks the sandbox. +#undef MADV_FREE +#endif + #ifndef MADV_FREE #define MADV_FREE MADV_DONTNEED #endif