Index: base/task_scheduler/scheduler_single_thread_task_runner_manager.cc |
diff --git a/base/task_scheduler/scheduler_single_thread_task_runner_manager.cc b/base/task_scheduler/scheduler_single_thread_task_runner_manager.cc |
index d4c26d6a404e04110ed0c38b35dbe7d798024208..9e42e06b2f27153e04aee32b5d40d135dbc0a7bd 100644 |
--- a/base/task_scheduler/scheduler_single_thread_task_runner_manager.cc |
+++ b/base/task_scheduler/scheduler_single_thread_task_runner_manager.cc |
@@ -95,7 +95,7 @@ class SchedulerWorkerDelegate : public SchedulerWorker::Delegate { |
void OnDetach() override { NOTREACHED(); } |
- bool RunsTasksOnCurrentThread() { |
+ bool RunsTasksInCurrentSequence() { |
// We check the thread ref instead of the sequence for the benefit of COM |
// callbacks which may execute without a sequence context. |
return thread_ref_checker_.IsCurrentThreadSameAsSetThread(); |
@@ -278,8 +278,8 @@ class SchedulerSingleThreadTaskRunnerManager::SchedulerSingleThreadTaskRunner |
return PostDelayedTask(from_here, std::move(closure), delay); |
} |
- bool RunsTasksOnCurrentThread() const override { |
- return GetDelegate()->RunsTasksOnCurrentThread(); |
+ bool RunsTasksInCurrentSequence() const override { |
+ return GetDelegate()->RunsTasksInCurrentSequence(); |
} |
private: |