| Index: third_party/WebKit/Source/platform/scheduler/base/real_time_domain.cc
|
| diff --git a/third_party/WebKit/Source/platform/scheduler/base/real_time_domain.cc b/third_party/WebKit/Source/platform/scheduler/base/real_time_domain.cc
|
| index 312136a91605ad284084f8970999b49d78de61e2..7406dc4b21d654f8b1da39f5fcb646fb1e446504 100644
|
| --- a/third_party/WebKit/Source/platform/scheduler/base/real_time_domain.cc
|
| +++ b/third_party/WebKit/Source/platform/scheduler/base/real_time_domain.cc
|
| @@ -39,11 +39,16 @@ base::TimeTicks RealTimeDomain::Now() const {
|
| return task_queue_manager_->delegate()->NowTicks();
|
| }
|
|
|
| -void RealTimeDomain::RequestWakeup(base::TimeTicks now, base::TimeDelta delay) {
|
| +void RealTimeDomain::RequestWakeupAt(base::TimeTicks now,
|
| + base::TimeTicks run_time) {
|
| // NOTE this is only called if the scheduled runtime is sooner than any
|
| // previously scheduled runtime, or there is no (outstanding) previously
|
| // scheduled runtime.
|
| - task_queue_manager_->MaybeScheduleDelayedWork(FROM_HERE, now, delay);
|
| + task_queue_manager_->MaybeScheduleDelayedWork(FROM_HERE, this, now, run_time);
|
| +}
|
| +
|
| +void RealTimeDomain::CancelWakeupAt(base::TimeTicks run_time) {
|
| + task_queue_manager_->CancelDelayedWork(this, run_time);
|
| }
|
|
|
| base::Optional<base::TimeDelta> RealTimeDomain::DelayTillNextTask(
|
|
|