DescriptionOnly the first layout pass needs to go deep when pagination state changes.
Since we now re-use the LayoutState object in multipass layout (caused by
either fragmentation or the PaintLayerScrollableArea::FreezeScrollbarsScope
mechanism), we need to notify the LayoutState object when we have performed the
necessary deep layout pass, so that not all subsequent passes also go deep
needlessly.
BUG=672088
Committed: https://crrev.com/aa1f4b1278d33e302c40a6879614ec2c418aaf33
Cr-Commit-Position: refs/heads/master@{#438353}
Patch Set 1 #Patch Set 2 : Different approach: establish separate LayoutState for in-flow and out-of-flow objects. #Messages
Total messages: 16 (9 generated)
|