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

Unified Diff: content/browser/browser_main_loop.cc

Issue 1468883003: Remove memory category from chrome://tracing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@format-trace-event
Patch Set: Rebase 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 | « content/browser/browser_main_loop.h ('k') | content/child/child_thread_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 8f93e6776a575a5a532d7e4e7d6403f81c95c7d7..db7c3e57594e3bca06573d2c41ed9260982b758a 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -699,13 +699,6 @@ void BrowserMainLoop::PostMainMessageLoopStart() {
skia::SkiaMemoryDumpProvider::GetInstance(), "Skia", nullptr);
base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider(
sql::SqlMemoryDumpProvider::GetInstance(), "Sql", nullptr);
-
-#if defined(TCMALLOC_TRACE_MEMORY_SUPPORTED)
- trace_memory_controller_.reset(new base::trace_event::TraceMemoryController(
- base::MessageLoop::current()->task_runner(),
- ::HeapProfilerWithPseudoStackStart, ::HeapProfilerStop,
- ::GetHeapProfile));
-#endif
}
int BrowserMainLoop::PreCreateThreads() {
@@ -1007,7 +1000,6 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() {
aura::Env::DeleteInstance();
#endif
- trace_memory_controller_.reset();
system_stats_monitor_.reset();
#if !defined(OS_IOS)
« no previous file with comments | « content/browser/browser_main_loop.h ('k') | content/child/child_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698