summaryrefslogtreecommitdiffstats
path: root/content/common/child_thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/child_thread.cc')
-rw-r--r--content/common/child_thread.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/common/child_thread.cc b/content/common/child_thread.cc
index 17e201d..8b1b000 100644
--- a/content/common/child_thread.cc
+++ b/content/common/child_thread.cc
@@ -14,11 +14,11 @@
#include "content/common/child_histogram_message_filter.h"
#include "content/common/child_process.h"
#include "content/common/child_process_messages.h"
-#include "content/common/child_trace_message_filter.h"
#include "content/common/fileapi/file_system_dispatcher.h"
#include "content/common/quota_dispatcher.h"
#include "content/common/resource_dispatcher.h"
#include "content/common/socket_stream_dispatcher.h"
+#include "content/components/tracing/child_trace_message_filter.h"
#include "content/public/common/content_switches.h"
#include "ipc/ipc_logging.h"
#include "ipc/ipc_switches.h"
@@ -115,7 +115,8 @@ void ChildThread::Init() {
channel_->AddFilter(histogram_message_filter_.get());
channel_->AddFilter(sync_message_filter_.get());
- channel_->AddFilter(new ChildTraceMessageFilter());
+ channel_->AddFilter(new ChildTraceMessageFilter(
+ ChildProcess::current()->io_message_loop_proxy()));
#if defined(OS_POSIX)
// Check that --process-type is specified so we don't do this in unit tests