| Index: mojo/edk/system/channel_win.cc
|
| diff --git a/mojo/edk/system/channel_win.cc b/mojo/edk/system/channel_win.cc
|
| index c15df16bb1341308c6db89de41ceea9cbb7fa16c..2ca035a2b22bf1af44b9fe1f09950f7dbe0beb5c 100644
|
| --- a/mojo/edk/system/channel_win.cc
|
| +++ b/mojo/edk/system/channel_win.cc
|
| @@ -118,7 +118,7 @@ class ChannelWin : public Channel,
|
| }
|
|
|
| void LeakHandle() override {
|
| - DCHECK(io_task_runner_->RunsTasksOnCurrentThread());
|
| + DCHECK(io_task_runner_->RunsTasksInCurrentSequence());
|
| leak_handle_ = true;
|
| }
|
|
|
| @@ -207,7 +207,7 @@ class ChannelWin : public Channel,
|
|
|
| // base::MessageLoop::DestructionObserver:
|
| void WillDestroyCurrentMessageLoop() override {
|
| - DCHECK(io_task_runner_->RunsTasksOnCurrentThread());
|
| + DCHECK(io_task_runner_->RunsTasksInCurrentSequence());
|
| if (self_)
|
| ShutDownOnIOThread();
|
| }
|
|
|