| Index: components/scheduler/base/time_domain.cc
|
| diff --git a/components/scheduler/base/time_domain.cc b/components/scheduler/base/time_domain.cc
|
| index 61851c533ea81f7c48e16f0dfd0a11c4f6e6fe29..510ad7964baadf8824d41fb02044a9e07d71c1f1 100644
|
| --- a/components/scheduler/base/time_domain.cc
|
| +++ b/components/scheduler/base/time_domain.cc
|
| @@ -110,9 +110,9 @@ void TimeDomain::UnregisterAsUpdatableTaskQueue(
|
|
|
| void TimeDomain::UpdateWorkQueues(
|
| bool should_trigger_wakeup,
|
| - const internal::TaskQueueImpl::Task* previous_task) {
|
| + const internal::TaskQueueImpl::Task* previous_task,
|
| + LazyNow lazy_now) {
|
| DCHECK(main_thread_checker_.CalledOnValidThread());
|
| - LazyNow lazy_now(CreateLazyNow());
|
|
|
| // Move any ready delayed tasks into the Incoming queues.
|
| WakeupReadyDelayedQueues(&lazy_now, should_trigger_wakeup, previous_task);
|
|
|