DescriptionIntroduce markChildForPaginationRelayoutIfNeeded().
No behavioral changes intended.
This replaces markForPaginationRelayoutIfNeeded(). Since the method was always
called when it was the container that was being laid out, this is more
"correct", and in the same spirit as e.g.
updateBlockChildDirtyBitsBeforeLayout(), adjustBlockChildForPagination(), and
so on.
This is a preparatory patch to allow for calling
offsetFromLogicalTopOfFirstPage(), which uses LayoutState more heavily.
When using LayoutState, you generally need to be laying out the very same
object as the one LayoutState points to.
BUG=487026
Committed: https://crrev.com/74ff11de78f94ac88173da124c23ca6b6b333642
Cr-Commit-Position: refs/heads/master@{#421815}
Patch Set 1 #Messages
Total messages: 12 (7 generated)
|