Index: content/test/render_thread_impl_browser_test_ipc_helper.cc |
diff --git a/content/test/render_thread_impl_browser_test_ipc_helper.cc b/content/test/render_thread_impl_browser_test_ipc_helper.cc |
index 3075f753225d4e343b457dcfeb98b8a0cb1aea42..7f038859433ac473e341486db8036df448b2f4ad 100644 |
--- a/content/test/render_thread_impl_browser_test_ipc_helper.cc |
+++ b/content/test/render_thread_impl_browser_test_ipc_helper.cc |
@@ -41,7 +41,6 @@ void RenderThreadImplBrowserIPCTestHelper::SetupIpcThread() { |
base::Thread::Options options; |
options.message_loop_type = base::MessageLoop::TYPE_IO; |
ASSERT_TRUE(ipc_thread_->StartWithOptions(options)); |
- ChannelInit::SetSingleProcessIOTaskRunner(ipc_thread_->task_runner()); |
} |
void RenderThreadImplBrowserIPCTestHelper::SetupMojo() { |
@@ -64,4 +63,9 @@ void RenderThreadImplBrowserIPCTestHelper::SetupMojo() { |
mojo_host_->OnClientLaunched(base::GetCurrentProcessHandle()); |
} |
+scoped_refptr<base::SingleThreadTaskRunner> |
+RenderThreadImplBrowserIPCTestHelper::GetIOTaskRunner() const { |
+ return ipc_thread_->task_runner(); |
+} |
+ |
} // namespace content |