| 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 5001db1632d881873933351de5d8fb73156b9844..a79f0a31dfa5eecb32f249f8945ea4d76b5a03cf 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() {
|
|
|