| Index: content/common/mojo/channel_init.cc
|
| diff --git a/content/common/mojo/channel_init.cc b/content/common/mojo/channel_init.cc
|
| index c2d4bf25cb918361e46590303f1b5cb8be0e40c6..e81515c2da0eda8f573fd5a418817fed7b2c33c9 100644
|
| --- a/content/common/mojo/channel_init.cc
|
| +++ b/content/common/mojo/channel_init.cc
|
| @@ -8,6 +8,7 @@
|
| #include "base/bind_helpers.h"
|
| #include "base/lazy_instance.h"
|
| #include "base/message_loop/message_loop.h"
|
| +#include "base/thread_task_runner_handle.h"
|
| #include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
|
|
|
| namespace content {
|
| @@ -29,11 +30,10 @@ mojo::ScopedMessagePipeHandle ChannelInit::Init(
|
| mojo::embedder::CreateChannel(
|
| mojo::embedder::ScopedPlatformHandle(
|
| mojo::embedder::PlatformHandle(file)),
|
| - io_thread_task_runner,
|
| base::Bind(&ChannelInit::OnCreatedChannel,
|
| weak_factory_.GetWeakPtr(),
|
| base::Passed(&ipc_support)),
|
| - base::MessageLoop::current()->task_runner()).Pass();
|
| + base::ThreadTaskRunnerHandle::Get()).Pass();
|
| return message_pipe.Pass();
|
| }
|
|
|
|
|