commit | 21d6052d11c3fd311beeb69986430bf812f0a86b | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Tue Jul 17 23:49:54 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 17 23:49:54 2018 |
tree | b301470c62948d7013b237c3ffb974198d585789 | |
parent | 5fac0e427b1de57b09f19c202f387fa141db924f [diff] |
[LayoutNG] Move NGLineInfo to the member field of NGLineBreaker This patch adds NGLineInfo and NGInlineItemResults to the member field of NGLineBreaker. These are the output of the NGLineInfo, analogous to NGContainerFragmentBuilder to NGLayoutAlgorithm. Adding to the member fields makes NGLineBreaker closeer to NGLayoutAlgorithm. Note, NGInlineItemResults should be local and should std::move when the line is complete if we follow the existing pattern. It has inline buffer however, which makes std::move expensive. This patch keeps it as a pointer to the buffer in NGLineInfo. Bug: 636993 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: Ibc66fae8a8653196535dfa469b94a3255c0cd8e8 Reviewed-on: https://chromium-review.googlesource.com/1138136 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#575844}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .