Index: chrome/browser/renderer_host/chrome_render_message_filter.cc |
=================================================================== |
--- chrome/browser/renderer_host/chrome_render_message_filter.cc (revision 161050) |
+++ chrome/browser/renderer_host/chrome_render_message_filter.cc (working copy) |
@@ -112,10 +112,6 @@ |
IPC_MESSAGE_HANDLER(ExtensionHostMsg_UnloadAck, OnExtensionUnloadAck) |
IPC_MESSAGE_HANDLER(ExtensionHostMsg_ResumeRequests, |
OnExtensionResumeRequests); |
-#if defined(USE_TCMALLOC) |
- IPC_MESSAGE_HANDLER(ChromeViewHostMsg_WriteTcmallocHeapProfile_ACK, |
- OnWriteTcmallocHeapProfile) |
-#endif |
IPC_MESSAGE_HANDLER(ChromeViewHostMsg_AllowDatabase, OnAllowDatabase) |
IPC_MESSAGE_HANDLER(ChromeViewHostMsg_AllowDOMStorage, OnAllowDOMStorage) |
IPC_MESSAGE_HANDLER(ChromeViewHostMsg_AllowFileSystem, OnAllowFileSystem) |
@@ -473,15 +469,6 @@ |
render_process_id_, route_id); |
} |
-#if defined(USE_TCMALLOC) |
-void ChromeRenderMessageFilter::OnWriteTcmallocHeapProfile( |
- const FilePath::StringType& filepath, |
- const std::string& output) { |
- VLOG(0) << "Writing renderer heap profile dump to: " << filepath; |
- file_util::WriteFile(FilePath(filepath), output.c_str(), output.size()); |
-} |
-#endif |
- |
void ChromeRenderMessageFilter::OnAllowDatabase(int render_view_id, |
const GURL& origin_url, |
const GURL& top_origin_url, |