| Index: mojo/edk/embedder/channel_init.cc
|
| diff --git a/mojo/edk/embedder/channel_init.cc b/mojo/edk/embedder/channel_init.cc
|
| index 9ea984b57242180f39d1281c24d70aaf342ab051..0e7a7b68f137a38300b92b3cbbc4c5f21db06fa0 100644
|
| --- a/mojo/edk/embedder/channel_init.cc
|
| +++ b/mojo/edk/embedder/channel_init.cc
|
| @@ -25,12 +25,11 @@ ScopedMessagePipeHandle ChannelInit::Init(
|
| DCHECK(!io_thread_task_runner_.get()); // Should only init once.
|
| io_thread_task_runner_ = io_thread_task_runner;
|
| ScopedMessagePipeHandle message_pipe =
|
| - CreateChannel(ScopedPlatformHandle(PlatformHandle(file)),
|
| - io_thread_task_runner,
|
| - base::Bind(&ChannelInit::OnCreatedChannel,
|
| - weak_factory_.GetWeakPtr(),
|
| - io_thread_task_runner),
|
| - base::MessageLoop::current()->message_loop_proxy()).Pass();
|
| + CreateChannel(
|
| + ScopedPlatformHandle(PlatformHandle(file)), io_thread_task_runner,
|
| + base::Bind(&ChannelInit::OnCreatedChannel, weak_factory_.GetWeakPtr(),
|
| + io_thread_task_runner),
|
| + base::MessageLoop::current()->message_loop_proxy()).Pass();
|
| return message_pipe.Pass();
|
| }
|
|
|
|
|