Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1683)

Unified Diff: content/child/child_thread_impl.cc

Issue 2159293002: Plumb explicit IPC task runner through to IPC::Channel creation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add dcheck Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/child/child_thread_impl.cc
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
index bfd7c6b82b014a5139dbbec13c5289650b44413f..3d26cbdf16d307efc26885afcc71b766b8eb3e46 100644
--- a/content/child/child_thread_impl.cc
+++ b/content/child/child_thread_impl.cc
@@ -377,8 +377,10 @@ void ChildThreadImpl::ConnectChannel(bool use_mojo_channel,
handle = mojo::edk::CreateChildMessagePipe(ipc_token);
}
DCHECK(handle.is_valid());
- channel_->Init(IPC::ChannelMojo::CreateClientFactory(std::move(handle)),
- create_pipe_now);
+ channel_->Init(
+ IPC::ChannelMojo::CreateClientFactory(
+ std::move(handle), ChildProcess::current()->io_task_runner()),
+ create_pipe_now);
return;
}
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/test/render_thread_impl_browser_test_ipc_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698