Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r184293 - Don't compute selection painting info when we don't h…
…ave selection. https://bugs.webkit.org/show_bug.cgi?id=144920 <rdar://problem/20919920> Reviewed by Simon Fraser. * rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::paint): Just set the selection paint style to the text paint style when we don't have a selection at all. Computing the selection style takes time in the case where a ::selection pseudo is used on the page, so we don't want to waste time computing that info unless it's actually needed.
- Loading branch information
1 parent
616d42f
commit fabdced
Showing
2 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters