DescriptionMove allow_character_break property to RenderText.
gfx::ElideRectangleText creates lots of RenderText object which
causes the performance regression. This CL avoids invoking the
method by moving allow_character_break property to RenderText.
BUG=470506
R=msw@chromium.org, sky@chromium.org
TEST=the new test case covers
Committed: https://crrev.com/a19339399b745657a9d9e7f288cfc797f90403f5
Cr-Commit-Position: refs/heads/master@{#322681}
Patch Set 1 #
Total comments: 10
Patch Set 2 : WordWrapBehavior #Patch Set 3 : fix default word wrap behavior #Patch Set 4 : remove todo #Patch Set 5 : rebase #Patch Set 6 : test fix #
Total comments: 22
Patch Set 7 : comments addressed #
Total comments: 2
Patch Set 8 : fix #
Total comments: 2
Patch Set 9 : comments addressed #Patch Set 10 : line width for truncated words #
Messages
Total messages: 24 (6 generated)
|