[LayoutNG] Fix text debug rectangle dump for vertical-rl.
Remove NG special code from LayoutText::DebugRect() and have it call FirstRunOrigin() instead of FirstRunX() and FirstRunY(). Remove those two methods. Also update WriteTextFragment(), so that the coordinates it outputs match those from DebugRect(). Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I10947db5a031580095633eb690711720736c99d1 Reviewed-on: https://chromium-review.googlesource.com/c/1264639 Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#597232}
Showing
This diff is collapsed.
Please register or sign in to comment