Merge the forked code in LazyLineBreakIterator and some cleanup
The word-break:keep-all code was forked in [1]. This patch merges it back to single template function, in preparation of supporting after-white-space in LayoutNG. Includes some cleanup to make IsBreakable() inline function smaller without increasing non-inline function calls. [1] https://codereview.chromium.org/1094863007 BUG=636993 Change-Id: I6471b83437e29f5ee2fcb30473c8eb8d526abf35 Reviewed-on: https://chromium-review.googlesource.com/575799 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#488146}
Showing
Please register or sign in to comment