| Index: ipc/ipc_channel_win.cc
|
| diff --git a/ipc/ipc_channel_win.cc b/ipc/ipc_channel_win.cc
|
| index 4321b04beef1c6cf788701ebd52d95d69f9aea0e..088be01a7db929995f95a049159d9f90be9bd296 100644
|
| --- a/ipc/ipc_channel_win.cc
|
| +++ b/ipc/ipc_channel_win.cc
|
| @@ -11,14 +11,17 @@
|
| #include "base/auto_reset.h"
|
| #include "base/bind.h"
|
| #include "base/compiler_specific.h"
|
| +#include "base/location.h"
|
| #include "base/logging.h"
|
| #include "base/memory/ptr_util.h"
|
| #include "base/pickle.h"
|
| #include "base/process/process_handle.h"
|
| #include "base/rand_util.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/threading/thread_checker.h"
|
| +#include "base/threading/thread_task_runner_handle.h"
|
| #include "base/win/scoped_handle.h"
|
| #include "ipc/attachment_broker.h"
|
| #include "ipc/ipc_listener.h"
|
| @@ -412,13 +415,10 @@ bool ChannelWin::Connect() {
|
| // Complete setup asynchronously. By not setting input_state_.is_pending
|
| // to true, we indicate to OnIOCompleted that this is the special
|
| // initialization signal.
|
| - base::MessageLoopForIO::current()->PostTask(
|
| + base::ThreadTaskRunnerHandle::Get()->PostTask(
|
| FROM_HERE,
|
| - base::Bind(&ChannelWin::OnIOCompleted,
|
| - weak_factory_.GetWeakPtr(),
|
| - &input_state_.context,
|
| - 0,
|
| - 0));
|
| + base::Bind(&ChannelWin::OnIOCompleted, weak_factory_.GetWeakPtr(),
|
| + &input_state_.context, 0, 0));
|
| }
|
|
|
| if (!waiting_connect_)
|
|
|