commit | 84cbd27f57ae5850b81c836fe899e6a4d3a005b9 | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Tue Aug 28 07:50:02 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Aug 28 07:50:02 2018 |
tree | 574e120e1cbef309f769c3c37efc59ae07205ee5 | |
parent | a1e7bace79b380b59682f664de1c6b633876a9ca [diff] |
[LayoutNG] Set kDontReshapeStart correctly when rewinding NGLineBreaker::BreakText sets kDontReshapeStart for the items at the beginning of a line. This patch fixes to compute it by whether the start offset of the item_result is at the beginning, not the current offset NGLinebreaker is reading at. They are the same for the normal line breaking, but not so when rewinding. Found while investigating crbug.com/866771. Bug: 636993 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I812d2cd44492a0112bcd037749168e8eb62d8a94 Reviewed-on: https://chromium-review.googlesource.com/1190983 Reviewed-by: Emil A Eklund <eae@chromium.org> Commit-Queue: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#586615}
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 .