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 4265f8f3e199827d85c7c7e6d7d5783944dfc343..50b02879ccc86fe5b08c478e95559495dd1c6e25 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 |
@@ -70,7 +70,7 @@ TaskQueueManager::TaskQueueManager( |
observer_(nullptr), |
deletion_sentinel_(new DeletionSentinel()), |
weak_factory_(this) { |
- DCHECK(delegate->RunsTasksOnCurrentThread()); |
+ DCHECK(delegate->RunsTasksInCurrentSequence()); |
TRACE_EVENT_OBJECT_CREATED_WITH_ID(disabled_by_default_tracing_category, |
"TaskQueueManager", this); |
selector_.SetTaskQueueSelectorObserver(this); |
@@ -577,8 +577,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) { |