Simplify LayoutText line box collection
This uses the same mechanism used in https://chromium-review.googlesource.com/c/chromium/src/+/1612358 for LayoutInline. The new code favors LayoutNG for performance, to avoid back-and-forth flipping in some cases for LayoutNG and allow that for Legacy. Also fix an issue of unnecessary flipping for SVG text. Change-Id: I70dc61807d2284a3cdda1fd4733b7ab2bfdd00e0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1615680 Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by:Aleks Totic <atotic@chromium.org> Cr-Commit-Position: refs/heads/master@{#660998}
Showing
This diff is collapsed.
Please register or sign in to comment