| Index: cc/trees/layer_tree_impl.cc
|
| diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
|
| index 2c8fbb82b5d1e26fe3cbaf0d547f46bacc1bfebe..997c85242f6a7306e88bc26c75df9c0b09455179 100644
|
| --- a/cc/trees/layer_tree_impl.cc
|
| +++ b/cc/trees/layer_tree_impl.cc
|
| @@ -414,6 +414,11 @@ void LayerTreeImpl::PushPropertiesTo(LayerTreeImpl* target_tree) {
|
| target_tree->SetCurrentlyScrollingLayer(layer);
|
| target_tree->UpdatePropertyTreeScrollOffset(&property_trees_);
|
|
|
| + // This needs to be called early so that we don't clamp with incorrect max
|
| + // offsets when UpdateViewportContainerSizes is called from e.g.
|
| + // PushTopControls
|
| + target_tree->UpdatePropertyTreesForBoundsDelta();
|
| +
|
| if (next_activation_forces_redraw_) {
|
| target_tree->ForceRedrawNextActivation();
|
| next_activation_forces_redraw_ = false;
|
|
|