Chromium Code Reviews| Index: components/scheduler/base/virtual_time_domain.cc |
| diff --git a/components/scheduler/base/virtual_time_domain.cc b/components/scheduler/base/virtual_time_domain.cc |
| index 32510394fda1f744ccc79657b91210757fecb1e4..b3d263239128c7a397025d7ea1a4897d9455192d 100644 |
| --- a/components/scheduler/base/virtual_time_domain.cc |
| +++ b/components/scheduler/base/virtual_time_domain.cc |
| @@ -44,6 +44,10 @@ void VirtualTimeDomain::AdvanceTo(base::TimeTicks now) { |
| base::AutoLock lock(lock_); |
| DCHECK_GE(now, now_); |
| now_ = now; |
| + DCHECK(task_queue_manager_delegate_); |
| + |
| + LazyNow lazy_now(now_); |
| + WakeupReadyDelayedQueues(&lazy_now); |
|
Sami
2015/11/24 12:48:48
Isn't the DoWork going to do this? Why do it twice
alex clarke (OOO till 29th)
2015/11/25 12:29:36
Seems it isn't needed. It definitely was at one s
|
| task_queue_manager_delegate_->PostTask(FROM_HERE, do_work_closure_); |
| } |