| Index: content/renderer/scheduler/task_queue_manager.h
|
| diff --git a/content/renderer/scheduler/task_queue_manager.h b/content/renderer/scheduler/task_queue_manager.h
|
| index 8f32b93a0ace6674cfa227db573ca5bad6f4540d..d57f4ebb19a18517f026799c291999acfc70ef24 100644
|
| --- a/content/renderer/scheduler/task_queue_manager.h
|
| +++ b/content/renderer/scheduler/task_queue_manager.h
|
| @@ -128,13 +128,14 @@ class CONTENT_EXPORT TaskQueueManager {
|
| // Use the selector to choose a pending task and run it.
|
| void DoWork(bool posted_from_main_thread);
|
|
|
| + // Delayed Tasks with run_times <= |now| are enqueued onto their work queues.
|
| // Reloads any empty work queues which have automatic pumping enabled and
|
| // which are eligible to be auto pumped based on the |previous_task| which was
|
| // run. Call with an empty |previous_task| if no task was just run. Returns
|
| // true if any work queue has tasks after doing this.
|
| // |next_pending_delayed_task| should be the time of the next known delayed
|
| // task. It is updated if any task is found which should run earlier.
|
| - bool UpdateWorkQueues(base::TimeTicks* next_pending_delayed_task,
|
| + bool UpdateWorkQueues(base::TimeTicks now,
|
| const base::PendingTask* previous_task);
|
|
|
| // Chooses the next work queue to service. Returns true if |out_queue_index|
|
|
|