| Index: mojo/public/cpp/system/simple_watcher.cc
|
| diff --git a/mojo/public/cpp/system/simple_watcher.cc b/mojo/public/cpp/system/simple_watcher.cc
|
| index ae96faa39529584a3973575d35485e8cfc483ec6..5861850884a6d7326d551ad8d20fd66191ae7671 100644
|
| --- a/mojo/public/cpp/system/simple_watcher.cc
|
| +++ b/mojo/public/cpp/system/simple_watcher.cc
|
| @@ -95,7 +95,7 @@ class SimpleWatcher::Context : public base::RefCountedThreadSafe<Context> {
|
| }
|
|
|
| if ((flags & MOJO_WATCHER_NOTIFICATION_FLAG_FROM_SYSTEM) &&
|
| - task_runner_->RunsTasksOnCurrentThread() && weak_watcher_ &&
|
| + task_runner_->RunsTasksInCurrentSequence() && weak_watcher_ &&
|
| weak_watcher_->is_default_task_runner_) {
|
| // System notifications will trigger from the task runner passed to
|
| // mojo::edk::InitIPCSupport(). In Chrome this happens to always be the
|
|
|