Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 1b555d02b07f3338afe4aac3ed96bca02f43992d https://github.com/WebKit/WebKit/commit/1b555d02b07f3338afe4aac3ed96bca02f43992d Author: Simon Fraser <simon.fra...@apple.com> Date: 2023-02-01 (Wed, 01 Feb 2023)
Changed paths: M Source/WebCore/layout/layouttree/LayoutBox.cpp M Source/WebCore/layout/layouttree/LayoutBox.h M Source/WebCore/layout/layouttree/LayoutElementBox.h M Source/WebCore/rendering/style/RenderStyle.cpp Log Message: ----------- Shrink Layout::ElementBox slightly https://bugs.webkit.org/show_bug.cgi?id=251475 rdar://104894626 Reviewed by Alan Baradlay. Shrink Layout::ElementBox from 184 bytes (13 bytes of padding) to 176 bytes (5 bytes of padding) by shifting the bitfields in Box up into the spare 4 bytes between CanMakeCheckedPtr's m_count and m_style. * Source/WebCore/layout/layouttree/LayoutBox.cpp: (WebCore::Layout::Box::Box): * Source/WebCore/layout/layouttree/LayoutBox.h: * Source/WebCore/layout/layouttree/LayoutElementBox.h: * Source/WebCore/rendering/style/RenderStyle.cpp: Canonical link: https://commits.webkit.org/259688@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes