-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update RenderText::text() to return a String instead of a StringImpl
https://bugs.webkit.org/show_bug.cgi?id=268918 Reviewed by Alan Baradlay. Update RenderText::text() to return a String instead of a StringImpl. It is safe to deal with Strings than with StringImpl pointers directly. There is also zero performance difference on Speedometer 2 & 3. * Source/WebCore/editing/TextIterator.cpp: (WebCore::collapsedSpaceLength): * Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp: (WebCore::LayoutIntegration::BoxTree::createLayoutBox): (WebCore::LayoutIntegration::BoxTree::updateContent): * Source/WebCore/rendering/RenderText.h: (WebCore::RenderText::text const): Canonical link: https://commits.webkit.org/274220@main
- Loading branch information
Showing
3 changed files
with
4 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