Remove 32-bit Mac implementation of EnableTerminationOnHeapCorruption().
This removes CrMallocErrorBreak, since in 64-bit mode, Libc's malloc already
makes this case fatal.
BUG=453141
[email protected]
Review URL: https://codereview.chromium.org/889583003
Cr-Commit-Position: refs/heads/master@{#313728}
diff --git a/base/process/memory_unittest.cc b/base/process/memory_unittest.cc
index 86a8091..5904de2 100644
--- a/base/process/memory_unittest.cc
+++ b/base/process/memory_unittest.cc
@@ -150,10 +150,8 @@
ASSERT_DEATH(free(buf), "attempting free on address which "
"was not malloc\\(\\)-ed");
#else
- ASSERT_DEATH(free(buf), "being freed.*\\n?\\.*"
- "\\*\\*\\* set a breakpoint in malloc_error_break to debug.*\\n?.*"
- "Terminating process due to a potential for future heap corruption");
-#endif // ARCH_CPU_64_BITS || defined(ADDRESS_SANITIZER)
+ ADD_FAILURE() << "This test is not supported in this build configuration.";
+#endif
}
#endif // defined(OS_MACOSX)