| Index: cc/trees/layer_tree_host_impl.cc
|
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
|
| index fcc98b5417f983d7d1f60163118ea6fdfec8634e..a203fd866552d7f82ca8b71180afed59d1dc5699 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -2299,10 +2299,7 @@ bool LayerTreeHostImpl::InitializeRenderer(OutputSurface* output_surface) {
|
| : base::TimeDelta();
|
| client_->SetEstimatedParentDrawTime(parent_draw_time);
|
|
|
| - int max_frames_pending = output_surface_->capabilities().max_frames_pending;
|
| - if (max_frames_pending <= 0)
|
| - max_frames_pending = OutputSurface::DEFAULT_MAX_FRAMES_PENDING;
|
| - client_->SetMaxSwapsPendingOnImplThread(max_frames_pending);
|
| + DCHECK_EQ(1, output_surface_->capabilities().max_frames_pending);
|
| client_->OnCanDrawStateChanged(CanDraw());
|
|
|
| // There will not be anything to draw here, so set high res
|
|
|