Index: third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc |
diff --git a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc |
index f79c1c4b406919e13bfffe4bd40ba1f5c47a4a97..c240f0848ae8e48ca3975770e277c5ed38c07d88 100644 |
--- a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc |
+++ b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc |
@@ -62,7 +62,7 @@ TaskQueueManager::TaskQueueManager( |
observer_(nullptr), |
deletion_sentinel_(new DeletionSentinel()), |
weak_factory_(this) { |
- DCHECK(delegate->RunsTasksOnCurrentThread()); |
+ DCHECK(delegate->RunsTasksInCurrentSequence()); |
TRACE_EVENT_OBJECT_CREATED_WITH_ID( |
TRACE_DISABLED_BY_DEFAULT("renderer.scheduler"), "TaskQueueManager", |
this); |
@@ -569,8 +569,8 @@ void TaskQueueManager::MaybeRecordTaskDelayHistograms( |
} |
} |
-bool TaskQueueManager::RunsTasksOnCurrentThread() const { |
- return delegate_->RunsTasksOnCurrentThread(); |
+bool TaskQueueManager::RunsTasksInCurrentSequence() const { |
+ return delegate_->RunsTasksInCurrentSequence(); |
} |
void TaskQueueManager::SetWorkBatchSize(int work_batch_size) { |