Index: ipc/ipc_channel_win.cc |
diff --git a/ipc/ipc_channel_win.cc b/ipc/ipc_channel_win.cc |
index 4321b04beef1c6cf788701ebd52d95d69f9aea0e..66c14c84eef49975bc7f6f03a5be844bad54efcd 100644 |
--- a/ipc/ipc_channel_win.cc |
+++ b/ipc/ipc_channel_win.cc |
@@ -16,6 +16,7 @@ |
#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" |
@@ -412,13 +413,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::MessageLoopForIO::current()->task_runner()->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_) |