Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6871d45047a3765581e1a8ba4f272e50c8327729
      
https://github.com/WebKit/WebKit/commit/6871d45047a3765581e1a8ba4f272e50c8327729
  Author: Charlie Wolfe <[email protected]>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    M Source/WebKit/Platform/spi/mac/AppKitSPI.h
    M Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm
    M Tools/TestWebKitAPI/Helpers/mac/AppKitSPI.h
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/mac/ScrollbarTests.mm

  Log Message:
  -----------
  Fix the internal build after 314341@main
https://bugs.webkit.org/show_bug.cgi?id=316136
rdar://178561155

Reviewed by Abrar Rahman Protyasha.

314341@main reverted `-[WKWebView _cornerConfiguration]` to dispatch on 
`_NSCornerRadius` because
`+[NSViewCornerRadius containerConcentricRadius]` is undefined at runtime on 
some internal configs.

Restore the build without altering the runtime path. Casting through `id` keeps 
`_NSCornerRadius`
as the message receiver and only relaxes the static type so the newer SDK 
accepts the SPI instance.

Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/mac/ScrollbarTests.mm

* Source/WebKit/Platform/spi/mac/AppKitSPI.h:
* Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm:
(-[WKWebView _cornerConfiguration]):
* Tools/TestWebKitAPI/Helpers/mac/AppKitSPI.h:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/mac/ScrollbarTests.mm:
(-[ContainerView _cornerConfiguration]):

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



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

Reply via email to