Chromium Code Reviews
DescriptionDon't invalidate width for children unless scrollbars have changed.
Previous to this patch, PaintLayerScrollableArea::updateAfterLayout
would call box().scrollbarsChanged(), even if relayout was delayed.
The result is that the box would sometimes force relayout its
children even when the box'es final state had the same logical width
as before.
With this patch, box().scrollbarsChanged() is only called when the
final state of scrollbars differs from the initial state.
BUG=621644
R=cbiesinger@chromium.org,eae@chromium.org
Committed: https://crrev.com/96c111dfbb085888c163c987375ff854b4619c5e
Cr-Commit-Position: refs/heads/master@{#401745}
Patch Set 1 #Patch Set 2 : Add test #Patch Set 3 : Use Ahem font in test #Patch Set 4 : Try to make test platform independent #
Total comments: 6
Patch Set 5 : nits #
Total comments: 1
Messages
Total messages: 13 (4 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||