| Index: cc/scheduler/scheduler.cc
|
| diff --git a/cc/scheduler/scheduler.cc b/cc/scheduler/scheduler.cc
|
| index d603086725b002350f2a8733dfd6743129563fc9..35853336893014817b3480e3b57bdf8a3c43659e 100644
|
| --- a/cc/scheduler/scheduler.cc
|
| +++ b/cc/scheduler/scheduler.cc
|
| @@ -716,8 +716,6 @@ Scheduler::AsValue() const {
|
| state->EndDictionary();
|
|
|
| state->BeginDictionary("scheduler_state");
|
| - state->SetBoolean("throttle_frame_production_",
|
| - settings_.throttle_frame_production);
|
| state->SetDouble("estimated_parent_draw_time_ms",
|
| estimated_parent_draw_time_.InMillisecondsF());
|
| state->SetBoolean("observing_begin_frame_source",
|
| @@ -777,7 +775,7 @@ bool Scheduler::ShouldRecoverImplLatency(
|
| // Disable impl thread latency recovery when using the unthrottled
|
| // begin frame source since we will always get a BeginFrame before
|
| // the swap ack and our heuristics below will not work.
|
| - if (!settings_.throttle_frame_production)
|
| + if (begin_frame_source_ && !begin_frame_source_->IsThrottled())
|
| return false;
|
|
|
| // If we are swap throttled at the BeginFrame, that means the impl thread is
|
|
|