[LayoutNG] Refactor NGInlineItemsBuilder
Refactor the NGInlineItemsBuilder class to make it easier to understand, maintain, and use. Removes the is_svg_text_ field which changes behavior of the append method and wasn't tested. Instead that logic is now in the append method itself. Also renames methods for consistency. No CamelCase for whitespace and newline to match other uses and the style enum value. Bug: 636993 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I40ca62c7b726720dda01bf61cc4191fba4c552a0 Reviewed-on: https://chromium-review.googlesource.com/972589 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#544630}
Showing
Please register or sign in to comment