| Index: cc/scheduler/scheduler_state_machine.cc
|
| diff --git a/cc/scheduler/scheduler_state_machine.cc b/cc/scheduler/scheduler_state_machine.cc
|
| index f7919a6a36e0e3ff094ec12a6f1da8e2642f86a8..87ec784ad579771285aeabf070d652830e3e0d1d 100644
|
| --- a/cc/scheduler/scheduler_state_machine.cc
|
| +++ b/cc/scheduler/scheduler_state_machine.cc
|
| @@ -466,7 +466,8 @@ bool SchedulerStateMachine::ShouldSendBeginMainFrame() const {
|
|
|
| // SwapAck throttle the BeginMainFrames
|
| // TODO(brianderson): Remove this restriction to improve throughput.
|
| - if (pending_swaps_ >= max_pending_swaps_)
|
| + if (pending_swaps_ >= max_pending_swaps_ &&
|
| + begin_impl_frame_state_ != BEGIN_IMPL_FRAME_STATE_INSIDE_DEADLINE)
|
| return false;
|
|
|
| if (skip_begin_main_frame_to_reduce_latency_)
|
|
|