Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Unified Diff: content/app/content_main_runner.cc

Issue 1468993003: [Eraser] Remove chrome://tcmalloc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/app/content_main_runner.cc
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index b352c3e0b51dacce2f11e2da477a43c6aedf56e4..6b4f0d60cb7ed5cde696dfb6998d46c64721115c 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -429,10 +429,6 @@ class ContentMainRunnerImpl : public ContentMainRunner {
return false;
}
- static void GetStatsThunk(char* buffer, int buffer_length) {
- MallocExtension::instance()->GetStats(buffer, buffer_length);
- }
-
static bool GetNumericPropertyThunk(const char* name, size_t* value) {
return MallocExtension::instance()->GetNumericProperty(name, value);
}
@@ -473,7 +469,6 @@ class ContentMainRunnerImpl : public ContentMainRunner {
// On windows, we've already set these thunks up in _heap_init()
base::allocator::SetGetAllocatorWasteSizeFunction(
GetAllocatorWasteSizeThunk);
- base::allocator::SetGetStatsFunction(GetStatsThunk);
base::allocator::SetGetNumericPropertyFunction(GetNumericPropertyThunk);
base::allocator::SetReleaseFreeMemoryFunction(ReleaseFreeMemoryThunk);

Powered by Google App Engine
This is Rietveld 408576698