Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Skip unnecessary null check in RenderText::textLength().
<https://webkit.org/b/122841> Reviewed by Antti Koivisto. RenderText will never have a null String in m_text, so textLength() can grab at the StringImpl directly, avoiding a null check. Canonical link: https://commits.webkit.org/140925@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157456 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
14 additions
and 4 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
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