| Index: base/process/memory_unittest.cc
|
| diff --git a/base/process/memory_unittest.cc b/base/process/memory_unittest.cc
|
| index 6137c1c932d23ad8fa9ca481153ed4beb54a47bf..c4728c52371263dd6f731998761959c08407eda7 100644
|
| --- a/base/process/memory_unittest.cc
|
| +++ b/base/process/memory_unittest.cc
|
| @@ -148,12 +148,6 @@ TEST(ProcessMemoryTest, MacTerminateOnHeapCorruption) {
|
| !(defined(OS_WIN) && !defined(ALLOCATOR_SHIM)) && \
|
| !defined(MEMORY_TOOL_REPLACES_ALLOCATOR)
|
|
|
| -#if defined(USE_TCMALLOC)
|
| -extern "C" {
|
| -int tc_set_new_mode(int mode);
|
| -}
|
| -#endif // defined(USE_TCMALLOC)
|
| -
|
| namespace {
|
| const char *kOomRegex = "Out of memory";
|
| } // namespace
|
| @@ -171,12 +165,6 @@ class OutOfMemoryTest : public testing::Test {
|
| signed_test_size_(std::numeric_limits<ssize_t>::max()) {
|
| }
|
|
|
| -#if defined(USE_TCMALLOC)
|
| - void SetUp() override { tc_set_new_mode(1); }
|
| -
|
| - void TearDown() override { tc_set_new_mode(0); }
|
| -#endif // defined(USE_TCMALLOC)
|
| -
|
| protected:
|
| void* value_;
|
| size_t test_size_;
|
|
|