Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 30d90238fd840d41cd4c42604f21fc2745412604
      
https://github.com/WebKit/WebKit/commit/30d90238fd840d41cd4c42604f21fc2745412604
  Author: Matthieu Dubet <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to