-
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.
Move data members specific to ElementRareData out of NodeRareData
https://bugs.webkit.org/show_bug.cgi?id=253461 Reviewed by Darin Adler. Move data members specific to ElementRareData out of NodeRareData. Those were put in NodeRareData for better packing but we can achieve the same packing by reordering data members. I have verified that sizeof(NodeRareData)=32 and sizeof(ElementRareDate)=232 before and after my change. * Source/WebCore/dom/ElementRareData.cpp: * Source/WebCore/dom/ElementRareData.h: (WebCore::ElementRareData::useTypes const): * Source/WebCore/dom/NodeRareData.cpp: * Source/WebCore/dom/NodeRareData.h: (WebCore::NodeRareData::isElementRareData const): (WebCore::NodeRareData::useTypes const): (WebCore::NodeRareData::isElementRareData): Deleted. Canonical link: https://commits.webkit.org/261308@main
- Loading branch information
Showing
4 changed files
with
10 additions
and
14 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