| 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 1bc708d5f39fa80a60c61cbf48ec998a78a49dc7..65c558fe17991ec9697ba12987ae5e3fd8aadcaf 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -2023,7 +2023,8 @@ bool LayerTreeHostImpl::InitializeRenderer(
|
|
|
| // TODO(brianderson): Don't use a hard-coded parent draw time.
|
| base::TimeDelta parent_draw_time =
|
| - output_surface_->capabilities().adjust_deadline_for_parent
|
| + (!settings_.begin_frame_scheduling_enabled &&
|
| + output_surface_->capabilities().adjust_deadline_for_parent)
|
| ? BeginFrameArgs::DefaultEstimatedParentDrawTime()
|
| : base::TimeDelta();
|
| client_->SetEstimatedParentDrawTime(parent_draw_time);
|
|
|