Index: content/app/content_main_runner.cc |
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc |
index 037c79bd512ed948ee71b560b89076cdbf2300fb..ae2de12a14bb7622b3ac9892a6477d1955f8283d 100644 |
--- a/content/app/content_main_runner.cc |
+++ b/content/app/content_main_runner.cc |
@@ -417,16 +417,6 @@ class ContentMainRunnerImpl : public ContentMainRunner { |
Shutdown(); |
} |
-#if defined(USE_TCMALLOC) |
- static bool GetNumericPropertyThunk(const char* name, size_t* value) { |
- return MallocExtension::instance()->GetNumericProperty(name, value); |
- } |
- |
- static void ReleaseFreeMemoryThunk() { |
- MallocExtension::instance()->ReleaseFreeMemory(); |
- } |
-#endif |
- |
int Initialize(const ContentMainParams& params) override { |
ui_task_ = params.ui_task; |
@@ -455,10 +445,6 @@ class ContentMainRunnerImpl : public ContentMainRunner { |
// For tcmalloc, we need to tell it to behave like new. |
tc_set_new_mode(1); |
- // On windows, we've already set these thunks up in _heap_init() |
- base::allocator::SetGetNumericPropertyFunction(GetNumericPropertyThunk); |
- base::allocator::SetReleaseFreeMemoryFunction(ReleaseFreeMemoryThunk); |
- |
// Provide optional hook for monitoring allocation quantities on a |
// per-thread basis. Only set the hook if the environment indicates this |
// needs to be enabled. |