Index: base/process/process_util_unittest.cc |
diff --git a/base/process/process_util_unittest.cc b/base/process/process_util_unittest.cc |
index 783e09a1644e84161f6bd44a1bda1164803f9cd7..87fdd0123097e51739a2bc1830e34f584302fdc8 100644 |
--- a/base/process/process_util_unittest.cc |
+++ b/base/process/process_util_unittest.cc |
@@ -60,7 +60,6 @@ |
#if defined(OS_MACOSX) |
#include <mach/vm_param.h> |
#include <malloc/malloc.h> |
-#include "base/mac/mac_util.h" |
#endif |
#if defined(OS_ANDROID) |
#include "third_party/lss/linux_syscall_support.h" |
@@ -572,10 +571,6 @@ int change_fdguard_np(int fd, |
// <http://crbug.com/338157>. This function allows querying whether the file |
// descriptor is guarded before attempting to close it. |
bool CanGuardFd(int fd) { |
- // The syscall is first provided in 10.9/Mavericks. |
- if (!base::mac::IsOSMavericksOrLater()) |
- return true; |
- |
// Saves the original flags to reset later. |
int original_fdflags = 0; |