Index: third_party/WebKit/Source/platform/scheduler/child/single_thread_idle_task_runner.cc |
diff --git a/third_party/WebKit/Source/platform/scheduler/child/single_thread_idle_task_runner.cc b/third_party/WebKit/Source/platform/scheduler/child/single_thread_idle_task_runner.cc |
index 2ffc75b130d3f254269f93028a262d816d6e0f65..c4366889241c2af7b5a316d40ba0c262963e0009 100644 |
--- a/third_party/WebKit/Source/platform/scheduler/child/single_thread_idle_task_runner.cc |
+++ b/third_party/WebKit/Source/platform/scheduler/child/single_thread_idle_task_runner.cc |
@@ -21,7 +21,7 @@ SingleThreadIdleTaskRunner::SingleThreadIdleTaskRunner( |
blame_context_(nullptr), |
weak_factory_(this) { |
DCHECK(!idle_priority_task_runner_ || |
- idle_priority_task_runner_->RunsTasksOnCurrentThread()); |
+ idle_priority_task_runner_->RunsTasksInCurrentSequence()); |
weak_scheduler_ptr_ = weak_factory_.GetWeakPtr(); |
} |
@@ -31,8 +31,8 @@ SingleThreadIdleTaskRunner::Delegate::Delegate() {} |
SingleThreadIdleTaskRunner::Delegate::~Delegate() {} |
-bool SingleThreadIdleTaskRunner::RunsTasksOnCurrentThread() const { |
- return idle_priority_task_runner_->RunsTasksOnCurrentThread(); |
+bool SingleThreadIdleTaskRunner::RunsTasksInCurrentSequence() const { |
+ return idle_priority_task_runner_->RunsTasksInCurrentSequence(); |
} |
void SingleThreadIdleTaskRunner::PostIdleTask( |