[webkit-changes] [WebKit/WebKit] 30d902: [Memory] Re-order FontSizeAdjust to remove some pa...
Matthieu Dubet
noreply at github.com
Fri Apr 28 10:17:08 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 30d90238fd840d41cd4c42604f21fc2745412604
https://github.com/WebKit/WebKit/commit/30d90238fd840d41cd4c42604f21fc2745412604
Author: Matthieu Dubet <m_dubet at apple.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M Source/WebCore/animation/CSSPropertyAnimation.cpp
M Source/WebCore/platform/graphics/FontCascadeDescription.h
M Source/WebCore/platform/graphics/FontSizeAdjust.h
M Source/WebCore/style/StyleBuilderConverter.h
Log Message:
-----------
[Memory] Re-order FontSizeAdjust to remove some padding
https://bugs.webkit.org/show_bug.cgi?id=256085
rdar://108652215
Reviewed by Antti Koivisto and Chris Dumez.
With this patch FontSizeAdjust class shrinks from 12 to 8 bytes.
* Source/WebCore/animation/CSSPropertyAnimation.cpp:
* Source/WebCore/platform/graphics/FontCascadeDescription.h:
(WebCore::FontCascadeDescription::initialFontSizeAdjust):
* Source/WebCore/platform/graphics/FontSizeAdjust.h:
* Source/WebCore/style/StyleBuilderConverter.h:
(WebCore::Style::BuilderConverter::convertFontSizeAdjust):
Canonical link: https://commits.webkit.org/263504@main
More information about the webkit-changes
mailing list