| Index: ipc/ipc_channel_common.cc
|
| diff --git a/ipc/ipc_channel_common.cc b/ipc/ipc_channel_common.cc
|
| index e85aa61a22eaba2c895997afc2a41e376295cb85..e3f6558d6877546db2434c1f046f84c89be7cbcd 100644
|
| --- a/ipc/ipc_channel_common.cc
|
| +++ b/ipc/ipc_channel_common.cc
|
| @@ -12,11 +12,12 @@ namespace IPC {
|
| // static
|
| std::unique_ptr<Channel> Channel::CreateClient(
|
| const IPC::ChannelHandle& channel_handle,
|
| - Listener* listener) {
|
| + Listener* listener,
|
| + const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner) {
|
| if (channel_handle.mojo_handle.is_valid()) {
|
| return ChannelMojo::Create(
|
| mojo::ScopedMessagePipeHandle(channel_handle.mojo_handle),
|
| - Channel::MODE_CLIENT, listener);
|
| + Channel::MODE_CLIENT, listener, ipc_task_runner);
|
| }
|
| return Channel::Create(channel_handle, Channel::MODE_CLIENT, listener);
|
| }
|
| @@ -38,11 +39,12 @@ std::unique_ptr<Channel> Channel::CreateNamedClient(
|
| // static
|
| std::unique_ptr<Channel> Channel::CreateServer(
|
| const IPC::ChannelHandle& channel_handle,
|
| - Listener* listener) {
|
| + Listener* listener,
|
| + const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner) {
|
| if (channel_handle.mojo_handle.is_valid()) {
|
| return ChannelMojo::Create(
|
| mojo::ScopedMessagePipeHandle(channel_handle.mojo_handle),
|
| - Channel::MODE_SERVER, listener);
|
| + Channel::MODE_SERVER, listener, ipc_task_runner);
|
| }
|
| return Channel::Create(channel_handle, Channel::MODE_SERVER, listener);
|
| }
|
|
|