| Index: components/scheduler/base/real_time_domain.cc
|
| diff --git a/components/scheduler/base/real_time_domain.cc b/components/scheduler/base/real_time_domain.cc
|
| index e9c1c7185ad5b68e3f6946e09d771c3c8e4ff671..a452b978e9179cdec412463837625846cc7dbbdf 100644
|
| --- a/components/scheduler/base/real_time_domain.cc
|
| +++ b/components/scheduler/base/real_time_domain.cc
|
| @@ -16,6 +16,12 @@ RealTimeDomain::RealTimeDomain(const char* tracing_category)
|
| tracing_category_(tracing_category),
|
| task_queue_manager_(nullptr) {}
|
|
|
| +RealTimeDomain::RealTimeDomain(TimeDomain::Observer* observer,
|
| + const char* tracing_category)
|
| + : TimeDomain(observer),
|
| + tracing_category_(tracing_category),
|
| + task_queue_manager_(nullptr) {}
|
| +
|
| RealTimeDomain::~RealTimeDomain() {}
|
|
|
| void RealTimeDomain::OnRegisterWithTaskQueueManager(
|
| @@ -32,12 +38,6 @@ base::TimeTicks RealTimeDomain::Now() const {
|
| return task_queue_manager_->delegate()->NowTicks();
|
| }
|
|
|
| -base::TimeTicks RealTimeDomain::ComputeDelayedRunTime(
|
| - base::TimeTicks time_domain_now,
|
| - base::TimeDelta delay) const {
|
| - return time_domain_now + delay;
|
| -}
|
| -
|
| void RealTimeDomain::RequestWakeup(base::TimeTicks now, base::TimeDelta delay) {
|
| // NOTE this is only called if the scheduled runtime is sooner than any
|
| // previously scheduled runtime, or there is no (outstanding) previously
|
|
|