| Index: third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.h
|
| diff --git a/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.h b/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.h
|
| index 77705b4627e7dc60e28fb7bebe752781e99bd79e..0e6a3d500605d05b30529d680fe9a5620252f060 100644
|
| --- a/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.h
|
| +++ b/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.h
|
| @@ -265,13 +265,6 @@ class BLINK_PLATFORM_EXPORT RendererSchedulerImpl
|
| // defined by RAILS.
|
| static const int kRailsResponseTimeMillis = 50;
|
|
|
| - // For the purposes of deciding whether or not it's safe to turn timers and
|
| - // loading tasks on only in idle periods, we regard the system as being as
|
| - // being "idle period" starved if there hasn't been an idle period in the last
|
| - // 10 seconds. This was chosen to be long enough to cover most anticipated
|
| - // user gestures.
|
| - static const int kIdlePeriodStarvationThresholdMillis = 10000;
|
| -
|
| // The amount of time to wait before suspending shared timers after the
|
| // renderer has been backgrounded. This is used only if background suspension
|
| // of shared timers is enabled.
|
| @@ -320,10 +313,6 @@ class BLINK_PLATFORM_EXPORT RendererSchedulerImpl
|
| void UpdateForInputEventOnCompositorThread(WebInputEvent::Type type,
|
| InputEventState input_event_state);
|
|
|
| - // Returns true if there has been at least one idle period in the last
|
| - // |kIdlePeriodStarvationThresholdMillis|.
|
| - bool HadAnIdlePeriodRecently(base::TimeTicks now) const;
|
| -
|
| // Helpers for safely suspending/resuming the timer queue after a
|
| // background/foreground signal.
|
| void SuspendTimerQueueWhenBackgrounded();
|
|
|