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 93cb75b1413292d57ed5fb0898f58d4ee0a1c022..b7021a41000e73de3c1e3ed36d8f28f86b38a069 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 |
@@ -19,7 +19,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(); |
} |
@@ -29,8 +29,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( |