[LayoutNG] Remove NGInlineChildLayoutContext member.
Remove NGInlineChildLayoutContext from NGBlockLayoutAlgorithm. This structure is quite big, and since we stack-allocate the alogorithms, this matters. Only stack-allocate NGInlineChildLayoutContext on demand (when children are inline). This saves 816 bytes [*] of stack space per in-flow layout recursion. [*] Linux 64bit release. Bug: 930637 Change-Id: I40c12cb6e7996e54c9bf3ebe7285350591c90fef Reviewed-on: https://chromium-review.googlesource.com/c/1485238Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:
Koji Ishii <kojii@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#635150}
Showing
Please register or sign in to comment