Index: content/child/child_thread_impl.cc |
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc |
index e21898084dde7ae178810e4d730c972ceef9477b..22007ebfd79edf4b498de8df7fbfeaed59dc1667 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" |
@@ -663,9 +662,6 @@ bool ChildThreadImpl::OnMessageReceived(const IPC::Message& msg) { |
IPC_MESSAGE_HANDLER(ChildProcessMsg_SetMojoParentPipeHandle, |
OnSetMojoParentPipeHandle) |
#endif |
-#if defined(USE_TCMALLOC) |
- IPC_MESSAGE_HANDLER(ChildProcessMsg_GetTcmallocStats, OnGetTcmallocStats) |
-#endif |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
@@ -742,16 +738,6 @@ void ChildThreadImpl::OnSetMojoParentPipeHandle( |
} |
#endif |
-#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(); |
} |