[webkit-changes] [WebKit/WebKit] 7a1eae: Remove `__has_include` in `CoreMaterialSPI.h`

Aditya Keerthi noreply at github.com
Fri Dec 20 10:32:39 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7a1eae94addbfedd2e981b4016cd4abd53ea8e4d
      https://github.com/WebKit/WebKit/commit/7a1eae94addbfedd2e981b4016cd4abd53ea8e4d
  Author: Aditya Keerthi <akeerthi at apple.com>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M LayoutTests/platform/mac-ventura/TestExpectations
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/PAL/pal/spi/cocoa/CoreMaterialSPI.h
    M Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm

  Log Message:
  -----------
  Remove `__has_include` in `CoreMaterialSPI.h`
https://bugs.webkit.org/show_bug.cgi?id=285003
rdar://141797750

Reviewed by Richard Robinson and Alex Christensen.

288137 at main was a much appreciated quick build fix.

However, prefer defining `HAVE(CORE_MATERIAL)` in terms of actual OS availability
over using a `__has_include`.

* LayoutTests/platform/mac-ventura/TestExpectations:
* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/PAL/pal/spi/cocoa/CoreMaterialSPI.h:
* Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:
(WebCore::PlatformCALayerCocoa::PlatformCALayerCocoa):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list