| 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 802e56f66b02993bb89c56fc1b5e3b40a8dbf33d..d51dc2f9ef50a6b6c6b4e974d3e5f10578a8d80f 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
|
| @@ -13,7 +13,15 @@ namespace blink {
|
| namespace scheduler {
|
|
|
| RealTimeDomain::RealTimeDomain(const char* tracing_category)
|
| - : tracing_category_(tracing_category), task_queue_manager_(nullptr) {}
|
| + : TimeDomain(nullptr),
|
| + 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() {}
|
|
|
| @@ -31,7 +39,7 @@ base::TimeTicks RealTimeDomain::Now() const {
|
| return task_queue_manager_->Delegate()->NowTicks();
|
| }
|
|
|
| -void RealTimeDomain::RequestWakeUpAt(base::TimeTicks now,
|
| +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
|
| @@ -39,7 +47,7 @@ void RealTimeDomain::RequestWakeUpAt(base::TimeTicks now,
|
| task_queue_manager_->MaybeScheduleDelayedWork(FROM_HERE, this, now, run_time);
|
| }
|
|
|
| -void RealTimeDomain::CancelWakeUpAt(base::TimeTicks run_time) {
|
| +void RealTimeDomain::CancelWakeupAt(base::TimeTicks run_time) {
|
| task_queue_manager_->CancelDelayedWork(this, run_time);
|
| }
|
|
|
|
|