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 9e34b166bc8c98bdf390cb9cc497e8e4a7f73e4a..a8b5a0d5d6e696deea0a2fb75f3be7f02926fc8c 100644 |
--- a/mojo/public/cpp/system/simple_watcher.cc |
+++ b/mojo/public/cpp/system/simple_watcher.cc |
@@ -132,7 +132,7 @@ SimpleWatcher::SimpleWatcher(const tracked_objects::Location& from_here, |
weak_factory_(this) { |
MojoResult rv = CreateWatcher(&Context::CallNotify, &watcher_handle_); |
DCHECK_EQ(MOJO_RESULT_OK, rv); |
- DCHECK(task_runner_->RunsTasksOnCurrentThread()); |
+ DCHECK(task_runner_->RunsTasksInCurrentSequence()); |
} |
SimpleWatcher::~SimpleWatcher() { |