Index: base/process/memory_linux.cc |
diff --git a/base/process/memory_linux.cc b/base/process/memory_linux.cc |
index e1d452b67fa8ed769485be714d97e33bc0730d19..befd832d66734b58c9c7f8be5d8628722eec7b0c 100644 |
--- a/base/process/memory_linux.cc |
+++ b/base/process/memory_linux.cc |
@@ -199,8 +199,7 @@ bool AdjustOOMScore(ProcessId process, int score) { |
} |
bool UncheckedMalloc(size_t size, void** result) { |
-#if defined(ADDRESS_SANITIZER) || defined(MEMORY_SANITIZER) || \ |
- defined(THREAD_SANITIZER) || defined(LEAK_SANITIZER) || \ |
+#if defined(MEMORY_TOOL_REPLACES_ALLOCATOR) || \ |
(!defined(LIBC_GLIBC) && !defined(USE_TCMALLOC)) |
*result = malloc(size); |
#elif defined(LIBC_GLIBC) && !defined(USE_TCMALLOC) |