| Index: third_party/WebKit/Source/platform/scheduler/child/idle_helper.cc
|
| diff --git a/third_party/WebKit/Source/platform/scheduler/child/idle_helper.cc b/third_party/WebKit/Source/platform/scheduler/child/idle_helper.cc
|
| index 2e5ca8005f50e4b18bbb37740ad42d017d400243..348f59fa96ef3e8758032aab497b81eed6b56bbf 100644
|
| --- a/third_party/WebKit/Source/platform/scheduler/child/idle_helper.cc
|
| +++ b/third_party/WebKit/Source/platform/scheduler/child/idle_helper.cc
|
| @@ -265,9 +265,10 @@ void IdleHelper::UpdateLongIdlePeriodStateAfterIdleTask() {
|
| } else {
|
| // Otherwise ensure that we kick the scheduler at the right time to
|
| // initiate the next idle period.
|
| - next_long_idle_period_delay = std::max(
|
| - base::TimeDelta(), state_.idle_period_deadline() -
|
| - helper_->scheduler_tqm_delegate()->NowTicks());
|
| + next_long_idle_period_delay =
|
| + std::max(base::TimeDelta(),
|
| + state_.idle_period_deadline() -
|
| + helper_->scheduler_tqm_delegate()->NowTicks());
|
| }
|
| if (next_long_idle_period_delay.is_zero()) {
|
| EnableLongIdlePeriod();
|
|
|