Index: content/child/child_thread.cc |
diff --git a/content/child/child_thread.cc b/content/child/child_thread.cc |
index 68c338a8276faa512743d2b61f1ab68e14466b92..33a5d1d9543347645796599746fe3ef309d5d546 100644 |
--- a/content/child/child_thread.cc |
+++ b/content/child/child_thread.cc |
@@ -159,6 +159,11 @@ void ChildThread::Init() { |
#if defined(OS_ANDROID) |
g_child_thread = this; |
#endif |
+ |
+#if defined(USE_TCMALLOC) && (defined(OS_LINUX) || defined(OS_ANDROID)) |
+ trace_memory_controller_.reset(new base::debug::TraceMemoryController( |
+ message_loop_->message_loop_proxy())); |
+#endif |
} |
ChildThread::~ChildThread() { |