Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 933234e9d4863a267333aa872e3a3d040703531e
      
https://github.com/WebKit/WebKit/commit/933234e9d4863a267333aa872e3a3d040703531e
  Author: David Kilzer <ddkil...@apple.com>
  Date:   2025-09-15 (Mon, 15 Sep 2025)

  Changed paths:
    M Source/WebCore/rendering/style/RenderStyleConstants.h
    M Source/WebCore/style/values/backgrounds/StyleBackgroundLayer.h
    M Source/WebCore/style/values/masking/StyleMaskLayer.h

  Log Message:
  -----------
  Re-fix -Wpreferred-type-bitfield-enum-conversion warnings in WebCore
<https://bugs.webkit.org/show_bug.cgi?id=298883>
<rdar://160626315>

Reviewed by Ryosuke Niwa.

This was originally fixed by 298737@main, but was then accidentally
regressed by 299407@main.

No test since this is caught by new clang compilers as a warning.

* Source/WebCore/rendering/style/RenderStyleConstants.h:
(WebCore::FillBoxBitWidth): Add.
- Defines bit width required to store enum class FillBox.
* Source/WebCore/style/values/backgrounds/StyleBackgroundLayer.h:
(WebCore::Style::BackgroundLayer):
- Update PREFERRED_TYPE(FillBox) fields to use FillBoxBitWidth.
* Source/WebCore/style/values/masking/StyleMaskLayer.h:
(WebCore::Style::MaskLayer):
- Update PREFERRED_TYPE(FillBox) fields to use FillBoxBitWidth.

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



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

Reply via email to