Index: ipc/ipc_perftest_support.cc |
diff --git a/ipc/ipc_perftest_support.cc b/ipc/ipc_perftest_support.cc |
index 2932ce838f307e2f635b4bbc4f29f0d13ed1b603..ec6f9d1776e2cbe6f93834538cea1922a75883d1 100644 |
--- a/ipc/ipc_perftest_support.cc |
+++ b/ipc/ipc_perftest_support.cc |
@@ -20,6 +20,7 @@ |
#include "base/test/perf_time_logger.h" |
#include "base/test/test_io_thread.h" |
#include "base/threading/thread.h" |
+#include "base/threading/thread_task_runner_handle.h" |
#include "base/time/time.h" |
#include "build/build_config.h" |
#include "ipc/ipc_channel.h" |
@@ -335,8 +336,9 @@ PingPongTestClient::~PingPongTestClient() { |
} |
std::unique_ptr<Channel> PingPongTestClient::CreateChannel(Listener* listener) { |
- return Channel::CreateClient(IPCTestBase::GetChannelName("PerformanceClient"), |
- listener); |
+ return Channel::CreateClient( |
+ IPCTestBase::GetChannelName("PerformanceClient"), listener, |
+ base::ThreadTaskRunnerHandle::Get()); |
} |
int PingPongTestClient::RunMain() { |