| 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 e3ca2ab2f8deee7968909588461078bfb5271547..1a8f2bd092087d5c2ed1ba9f5ba125796914b871 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -1467,6 +1467,16 @@ CompositorFrameMetadata LayerTreeHostImpl::MakeCompositorFrameMetadata() const {
|
| active_tree_->GetViewportSelection(&metadata.selection_start,
|
| &metadata.selection_end);
|
|
|
| + LayerImpl* root_layer_for_overflow = OuterViewportScrollLayer()
|
| + ? OuterViewportScrollLayer()
|
| + : InnerViewportScrollLayer();
|
| + if (root_layer_for_overflow) {
|
| + metadata.root_overflow_x_hidden =
|
| + !root_layer_for_overflow->user_scrollable_horizontal();
|
| + metadata.root_overflow_y_hidden =
|
| + !root_layer_for_overflow->user_scrollable_vertical();
|
| + }
|
| +
|
| if (!InnerViewportScrollLayer())
|
| return metadata;
|
|
|
|
|