[RootLayerScrolls] Update scroll dimensions before clamping
When an overflow:auto vertical scrollbar is removed from an RTL LayoutView, then the call to ClampScrollOffsetAfterOverflowChange in LayoutView::UpdateAfterLayout during the second layout pass (after removing the scrollbar) will happen when the ScrollableArea's overflow_rect_ needs updating. BUG=711468 R=skobes@chromium.org,pdr@chromium.org,bokan@chromium.org Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_root_layer_scrolls;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I191a7142808851b266904b1916afc57b4b305940 Reviewed-on: https://chromium-review.googlesource.com/802179 Commit-Queue: Stefan Zager <szager@chromium.org> Reviewed-by:Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#521607}
Showing
Please register or sign in to comment