commit | 4d60ddff4d5a369b56407d7cbbbcbd306489d053 | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Tue Nov 13 13:58:02 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 13 13:58:02 2018 |
tree | b177ceba80a429a28e3a85a63a3fdb73c9c6ab0d | |
parent | b0a1b04991d1c323bda962af6812c64e25569af0 [diff] |
[LayoutNG] Remove unintuitive side effects in NGInlineItemsBuilder::ToString NGInlineItemsBuilder::ToString() removes trailing spaces at the end of the block. This is unintuitive from the function name, and caused CL:1322184 to be reverted. This patch moves this to ExitBlock(), and make ToString() clean, without side effects. Ran webkit_unit_tests locally with DCHECK disabled. Bug: 636993 Change-Id: I03f814afc272b9be0c274391cde076aecb6dbc91 Reviewed-on: https://chromium-review.googlesource.com/c/1329804 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#607579}
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 .