| 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 2dd45a83ad98f301b09236437bd9a904c2e6aac8..a193e52defcba9073733ea36961e3bef27baffe1 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
|
| @@ -38,7 +38,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();
|
| @@ -85,7 +85,7 @@ bool LazySchedulerMessageLoopDelegateForTests::PostNonNestableDelayedTask(
|
| from_here, std::move(task), delay);
|
| }
|
|
|
| -bool LazySchedulerMessageLoopDelegateForTests::RunsTasksOnCurrentThread()
|
| +bool LazySchedulerMessageLoopDelegateForTests::RunsTasksInCurrentSequence()
|
| const {
|
| return thread_id_ == base::PlatformThread::CurrentId();
|
| }
|
|
|