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 bd41c59fef331ffed136343a1e3a45d4f71680ac..dc3cde010f0f6d5f5ed57b3525cff7c1057d9b82 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 |
@@ -37,7 +37,7 @@ base::MessageLoop* LazySchedulerMessageLoopDelegateForTests::EnsureMessageLoop() |
const { |
if (message_loop_) |
return message_loop_; |
- DCHECK(RunsTasksOnCurrentThread()); |
+ DCHECK(RunsTasksInCurrentSequence()); |
message_loop_ = base::MessageLoop::current(); |
DCHECK(message_loop_); |
original_task_runner_ = message_loop_->task_runner(); |
@@ -84,7 +84,7 @@ bool LazySchedulerMessageLoopDelegateForTests::PostNonNestableDelayedTask( |
from_here, std::move(task), delay); |
} |
-bool LazySchedulerMessageLoopDelegateForTests::RunsTasksOnCurrentThread() |
+bool LazySchedulerMessageLoopDelegateForTests::RunsTasksInCurrentSequence() |
const { |
return thread_id_ == base::PlatformThread::CurrentId(); |
} |