DescriptionLayoutState doesn't need to store both layout and pagination offset.
We only ever used those two in combination to figure out how far away we were
from the start of the pagination context. So, let's just store that directly instead.
This allows us to clean up quite a bit. Also changed LayoutState() to do more
early returns, when we have no more work left to do.
Also consolidated two sections that disabled pagination for unsupported content
(one for SVG and one for other unbreakable content).
Committed: https://crrev.com/fb9e4782a189a3122fd7d313a1d3f8d6cae37076
Cr-Commit-Position: refs/heads/master@{#427945}
Patch Set 1 #
Messages
Total messages: 16 (9 generated)
|