Chromium Code Reviews| 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 db1d088798fc7e38e84f2f2b509b8e6d243bfa4c..dd7bc638b523a2db0d75df78cb436d330fa504b0 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 |
| @@ -17,12 +17,14 @@ const char* ThrottledTimeDomain::GetName() const { |
| return "ThrottledTimeDomain"; |
| } |
| -void ThrottledTimeDomain::RequestWakeup(base::TimeTicks now, |
| - base::TimeDelta delay) { |
| +void ThrottledTimeDomain::RequestWakeupAt(LazyNow* lazy_now, |
| + base::TimeTicks run_time) { |
| // We assume the owner (i.e. TaskQueueThrottler) will manage wakeups on our |
| // behalf. |
| } |
| +void ThrottledTimeDomain::CancelWakeupAt(base::TimeTicks run_time) {} |
|
Sami
2016/12/14 16:29:38
// No-op because of the above.
alex clarke (OOO till 29th)
2016/12/14 16:50:36
Done.
|
| + |
| base::Optional<base::TimeDelta> ThrottledTimeDomain::DelayTillNextTask( |
| LazyNow* lazy_now) { |
| base::TimeTicks next_run_time; |