| Index: third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.cc
|
| diff --git a/third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.cc b/third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.cc
|
| index 348d0347a5d3f08679a5b25b5f15a93bf9b23850..531b08556db8eda36ef5e4f2089fb56104cc6f76 100644
|
| --- a/third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.cc
|
| +++ b/third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.cc
|
| @@ -7,9 +7,8 @@
|
| namespace blink {
|
| namespace scheduler {
|
|
|
| -ThrottledTimeDomain::ThrottledTimeDomain(TimeDomain::Observer* observer,
|
| - const char* tracing_category)
|
| - : RealTimeDomain(observer, tracing_category) {}
|
| +ThrottledTimeDomain::ThrottledTimeDomain(const char* tracing_category)
|
| + : RealTimeDomain(tracing_category) {}
|
|
|
| ThrottledTimeDomain::~ThrottledTimeDomain() {}
|
|
|
| @@ -17,14 +16,14 @@ const char* ThrottledTimeDomain::GetName() const {
|
| return "ThrottledTimeDomain";
|
| }
|
|
|
| -void ThrottledTimeDomain::RequestWakeupAt(base::TimeTicks now,
|
| +void ThrottledTimeDomain::RequestWakeUpAt(base::TimeTicks now,
|
| base::TimeTicks run_time) {
|
| - // We assume the owner (i.e. TaskQueueThrottler) will manage wakeups on our
|
| + // We assume the owner (i.e. TaskQueueThrottler) will manage wake_ups on our
|
| // behalf.
|
| }
|
|
|
| -void ThrottledTimeDomain::CancelWakeupAt(base::TimeTicks run_time) {
|
| - // We ignore this because RequestWakeupAt is a NOP.
|
| +void ThrottledTimeDomain::CancelWakeUpAt(base::TimeTicks run_time) {
|
| + // We ignore this because RequestWakeUpAt is a NOP.
|
| }
|
|
|
| base::Optional<base::TimeDelta> ThrottledTimeDomain::DelayTillNextTask(
|
| @@ -37,7 +36,7 @@ base::Optional<base::TimeDelta> ThrottledTimeDomain::DelayTillNextTask(
|
| if (now >= next_run_time)
|
| return base::TimeDelta(); // Makes DoWork post an immediate continuation.
|
|
|
| - // We assume the owner (i.e. TaskQueueThrottler) will manage wakeups on our
|
| + // We assume the owner (i.e. TaskQueueThrottler) will manage wake_ups on our
|
| // behalf.
|
| return base::nullopt;
|
| }
|
|
|