[LayoutNG] Fix Next/PreviousSafeToBreak and InsertRunForTesting
This patch fixes InsertRunForTesting inserts glyph data in the incorrect order for RTL. Fixing it discovers errors in Next/PreviousSafeToBreakOffset(), and that they are fixed as well. Bug: 636993 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Idc0d7e6f0e653542a4aa93e1ee53d257848f3342 Reviewed-on: https://chromium-review.googlesource.com/1088718 Commit-Queue: Koji Ishii <kojii@chromium.org> Commit-Queue: Emil A Eklund <eae@chromium.org> Reviewed-by:Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#564917}
Showing
Please register or sign in to comment