Determine the non-hangable run end when soft-hyphen is disabled
Since r807457 we changed the TextBreakIterator default's behavior so that it breaks always after a space, instead of before any space run. In order to implement this new behavior, we needed to compute as well the end of the non-hangable run of the Item being processed. In the mentioned change, we forgot to apply this behavior in the code path used when the soft-hypenation is not enabled. This CL fixes that by determining the non-hangable run end in that case. Bug: 1158747 Change-Id: I1a1324b3d775c24e44aa29b097c45e626d0ad76f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2597581 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#838749}
Showing
Please register or sign in to comment