-
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.
Reduce size of RenderText from 128 to 120 bytes on 64-bit
https://bugs.webkit.org/show_bug.cgi?id=262655 Reviewed by Simon Fraser. Reduce size of RenderText from 128 to 120 bytes on 64-bit by leveraging Markable. * Source/WTF/wtf/Markable.h: (WTF::FloatMarkableTraits::isEmptyValue): (WTF::FloatMarkableTraits::emptyValue): (WTF::Markable::value_or const): * Source/WebCore/platform/graphics/FontSizeAdjust.h: (WebCore::FloatMarkableTraits::isEmptyValue): Deleted. (WebCore::FloatMarkableTraits::emptyValue): Deleted. * Source/WebCore/rendering/RenderText.cpp: (WebCore::RenderText::RenderText): * Source/WebCore/rendering/RenderText.h: Canonical link: https://commits.webkit.org/268887@main
- Loading branch information
Showing
4 changed files
with
41 additions
and
36 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
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