[LayoutNG] Ensure ShapingLineBreaker moves offset forward
After the fix for crbug.com/915567, there are reports of cases where ShapingLineBreaker does not move forward. While I could not find a reproducible case for this, there is a case it may occur from the code review. This patch fixes the case, along with adding CHECK to ShapingLineBreaker. This is a speculative fix. Bug: 928178 Change-Id: I51cf733fdad9abf2feee529bfaf90a7e1bdbb09d Reviewed-on: https://chromium-review.googlesource.com/c/1453777 Commit-Queue: Emil A Eklund <eae@chromium.org> Reviewed-by:Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#629151}
Showing
Please register or sign in to comment