Index: content/child/child_thread_impl.cc |
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc |
index be915a08df82b9be4e991680f17a9c066617e54b..251a5c13f3965cf45a9c12355d4f24dbfe507c1c 100644 |
--- a/content/child/child_thread_impl.cc |
+++ b/content/child/child_thread_impl.cc |
@@ -8,7 +8,6 @@ |
#include <string> |
-#include "base/allocator/allocator_extension.h" |
#include "base/base_switches.h" |
#include "base/basictypes.h" |
#include "base/command_line.h" |
@@ -658,9 +657,6 @@ bool ChildThreadImpl::OnMessageReceived(const IPC::Message& msg) { |
OnProcessBackgrounded) |
IPC_MESSAGE_HANDLER(MojoMsg_BindExternalMojoShellHandle, |
OnBindExternalMojoShellHandle) |
-#if defined(USE_TCMALLOC) |
- IPC_MESSAGE_HANDLER(ChildProcessMsg_GetTcmallocStats, OnGetTcmallocStats) |
-#endif |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
@@ -730,16 +726,6 @@ void ChildThreadImpl::OnBindExternalMojoShellHandle( |
#endif // defined(MOJO_SHELL_CLIENT) |
} |
-#if defined(USE_TCMALLOC) |
-void ChildThreadImpl::OnGetTcmallocStats() { |
- std::string result; |
- char buffer[1024 * 32]; |
- base::allocator::GetStats(buffer, sizeof(buffer)); |
- result.append(buffer); |
- Send(new ChildProcessHostMsg_TcmallocStats(result)); |
-} |
-#endif |
- |
ChildThreadImpl* ChildThreadImpl::current() { |
return g_lazy_tls.Pointer()->Get(); |
} |