Eliminate NGPhysicalTextFragment from NGLineTruncator
When |NGFragmentItem| is enabled, |NGLineTruncator| is the only user of |NGPhysicalTextFragment| when creating ellipsis. This patch changes it not to create an intermediate |NGPhysicalTextFragment|. This patch has no behavior changes. Bug: 1154531 Change-Id: Iec86c52b1f54e510c8270df801b7d27d37a061f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2591327 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#837015}
Showing
Please register or sign in to comment