Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce the number of text reshaping in RenderText
Short Design Doc: http://goo.gl/w6Q9k8 1) Compute ElidedText on demand 2) Separate elided text and non elided text. Create elided text and runs only when necessary. 3) Use known width in RenderText::Elide 4) Don't reshape to get GetGraphemeIterator. This CL also adds a few trace event so that we can identify the UI jank caused by text rendering performance. BUG=451459 R=msw@chromium.org Review URL: https://codereview.chromium.org/916203002 Cr-Commit-Position: refs/heads/master@{#316375}
- Loading branch information