[webkit-changes] [WebKit/WebKit] 48d9a4: [macOS Sonoma] Update SPI headers now that -[NSVie...

Elliott Williams noreply at github.com
Fri Jun 23 16:07:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 48d9a42d0a4ce579f1a1180bc1ca45aff0c5a9e4
      https://github.com/WebKit/WebKit/commit/48d9a42d0a4ce579f1a1180bc1ca45aff0c5a9e4
  Author: Elliott Williams <emw at apple.com>
  Date:   2023-06-23 (Fri, 23 Jun 2023)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/PAL/pal/spi/mac/NSViewSPI.h

  Log Message:
  -----------
  [macOS Sonoma] Update SPI headers now that -[NSView clipsToBounds] is API
https://bugs.webkit.org/show_bug.cgi?id=258473

Reviewed by Alexey Proskuryakov and Jonathan Bedard.

Work towards making the build functional on macOS Sonoma.

* Source/WTF/wtf/PlatformHave.h: Add a HAVE_NSVIEW_CLIPSTOBOUNDS_API
  flag.
* Source/WebCore/PAL/pal/spi/mac/NSViewSPI.h: Only declare clipsToBounds
  on older SDK versions.

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




More information about the webkit-changes mailing list