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

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: Address primiano comment, remove declaration from gpu_child_thread 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
« no previous file with comments | « chrome/renderer/chrome_render_process_observer.cc ('k') | content/browser/histogram_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/content_main_runner.cc
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index 7cf85f1d6f1477975a33e58faeda10cbcc85fcc0..6a0ff33fb39479f60d64e85f489f2bb5c627744c 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -414,10 +414,6 @@ class ContentMainRunnerImpl : public ContentMainRunner {
}
#if defined(USE_TCMALLOC)
- 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);
}
@@ -456,7 +452,6 @@ class ContentMainRunnerImpl : public ContentMainRunner {
tc_set_new_mode(1);
// On windows, we've already set these thunks up in _heap_init()
- base::allocator::SetGetStatsFunction(GetStatsThunk);
base::allocator::SetGetNumericPropertyFunction(GetNumericPropertyThunk);
base::allocator::SetReleaseFreeMemoryFunction(ReleaseFreeMemoryThunk);
« no previous file with comments | « chrome/renderer/chrome_render_process_observer.cc ('k') | content/browser/histogram_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698