Add ShapeResult::SubRange
A small utility function that creates a ShapeResult and CopyRange. Used in one place, and another coming in line breaker WIP. Also changed |primary_font_| field to const to eliminate a const_cast. Bug: 636993 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I293bf245a360841ddc5ce87e805b60770b2ec553 Reviewed-on: https://chromium-review.googlesource.com/846603 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#526447}
Showing
Please register or sign in to comment