Index: third_party/WebKit/Source/platform/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.cc |
diff --git a/third_party/WebKit/Source/platform/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.cc b/third_party/WebKit/Source/platform/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.cc |
index a193e52defcba9073733ea36961e3bef27baffe1..45799646bc25732c27a6907355dee57a384b25e9 100644 |
--- a/third_party/WebKit/Source/platform/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.cc |
+++ b/third_party/WebKit/Source/platform/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.cc |
@@ -91,7 +91,7 @@ bool LazySchedulerMessageLoopDelegateForTests::RunsTasksInCurrentSequence() |
} |
bool LazySchedulerMessageLoopDelegateForTests::IsNested() const { |
- DCHECK(RunsTasksOnCurrentThread()); |
+ DCHECK(RunsTasksInCurrentSequence()); |
EnsureMessageLoop(); |
return base::RunLoop::IsNestedOnCurrentThread(); |
} |