Index: third_party/WebKit/Source/platform/scheduler/child/worker_scheduler_impl.cc |
diff --git a/third_party/WebKit/Source/platform/scheduler/child/worker_scheduler_impl.cc b/third_party/WebKit/Source/platform/scheduler/child/worker_scheduler_impl.cc |
index a93dca0474ba97202e2b12c32a923b9577e2c5fa..604c101a8525e06b24ae49809f1daefdaf07c794 100644 |
--- a/third_party/WebKit/Source/platform/scheduler/child/worker_scheduler_impl.cc |
+++ b/third_party/WebKit/Source/platform/scheduler/child/worker_scheduler_impl.cc |
@@ -120,6 +120,16 @@ void WorkerSchedulerImpl::Shutdown() { |
helper_.Shutdown(); |
} |
+scoped_refptr<TaskQueue> WorkerSchedulerImpl::NewUnthrottledTaskRunner( |
+ TaskQueue::QueueType queue_type) { |
+ helper_.CheckOnValidThread(); |
+ scoped_refptr<TaskQueue> unthrottled_task_queue( |
+ helper_.NewTaskQueue(TaskQueue::Spec(queue_type) |
+ .SetShouldMonitorQuiescence(true) |
+ .SetTimeDomain(nullptr))); |
+ return unthrottled_task_queue; |
+} |
+ |
SchedulerHelper* WorkerSchedulerImpl::GetSchedulerHelperForTesting() { |
return &helper_; |
} |