| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index 9e73ac99b9386acb53c0671c6b9e4cac3c23889f..716980bc54fd4ac3d9cb01fc4b0376a5c32eddce 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -75,6 +75,7 @@
|
| #include "content/browser/renderer_host/media/media_stream_dispatcher_host.h"
|
| #include "content/browser/renderer_host/media/peer_connection_tracker_host.h"
|
| #include "content/browser/renderer_host/media/video_capture_host.h"
|
| +#include "content/browser/renderer_host/memory_benchmark_message_filter.h"
|
| #include "content/browser/renderer_host/p2p/socket_dispatcher_host.h"
|
| #include "content/browser/renderer_host/pepper/pepper_message_filter.h"
|
| #include "content/browser/renderer_host/quota_dispatcher_host.h"
|
| @@ -697,6 +698,11 @@ void RenderProcessHostImpl::CreateMessageFilters() {
|
| #if defined(ENABLE_WEBRTC)
|
| channel_->AddFilter(new WebRtcLoggingHandlerHost());
|
| #endif
|
| +#if defined(USE_TCMALLOC) && (defined(OS_LINUX) || defined(OS_ANDROID))
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kEnableMemoryBenchmarking))
|
| + channel_->AddFilter(new MemoryBenchmarkMessageFilter());
|
| +#endif
|
| }
|
|
|
| int RenderProcessHostImpl::GetNextRoutingID() {
|
|
|