Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 65de3d622850de8dddea105e1531f9ba46d7aa98
      
https://github.com/WebKit/WebKit/commit/65de3d622850de8dddea105e1531f9ba46d7aa98
  Author: Antti Koivisto <[email protected]>
  Date:   2025-02-03 (Mon, 03 Feb 2025)

  Changed paths:
    M Source/WebCore/style/StyleBuilderConverter.h
    M Source/WebCore/style/StyleResolveForFont.cpp
    M Source/WebCore/style/StyleResolveForFont.h

  Log Message:
  -----------
  Use Style::BuilderConverter::requiredDowncast<> when resolving font properties
https://bugs.webkit.org/show_bug.cgi?id=286976
rdar://144127492

Reviewed by Alan Baradlay.

Remove more unhandled downcast<>s.

* Source/WebCore/style/StyleBuilderConverter.h:
(WebCore::Style::BuilderConverter::convertFontStyleFromValue):
(WebCore::Style::BuilderConverter::convertFontWeight):
(WebCore::Style::BuilderConverter::convertFontWidth):
(WebCore::Style::BuilderConverter::convertFontFeatureSettings):
(WebCore::Style::BuilderConverter::convertFontVariationSettings):
(WebCore::Style::BuilderConverter::convertFontSizeAdjust):

Pass in BuilderState.

* Source/WebCore/style/StyleResolveForFont.cpp:
(WebCore::Style::fontWeightFromCSSValue):
(WebCore::Style::fontStretchFromCSSValue):
(WebCore::Style::fontStyleAngleFromCSSValue):
(WebCore::Style::fontStyleAngleFromCSSFontStyleWithAngleValue):
(WebCore::Style::fontStyleFromCSSValue):
(WebCore::Style::fontFeatureSettingsFromCSSValue):
(WebCore::Style::fontVariationSettingsFromCSSValue):
(WebCore::Style::fontSizeAdjustFromCSSValue):

Use requiredDowncast<> functions.

* Source/WebCore/style/StyleResolveForFont.h:

Canonical link: https://commits.webkit.org/289764@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to