Bug 277564
Summary: | Build fails with “'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0” | ||
---|---|---|---|
Product: | WebKit | Reporter: | sideshowbarker <mike> |
Component: | Tools / Tests | Assignee: | Eric Carlson <eric.carlson> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ap, emw, jer.noble, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 277116 |
sideshowbarker
macOS Sequoia 15.0 Beta (24A5298h) + Xcode 16.0 beta 3 (16A5202i)
/opt/WebKit/Source/WebKitLegacy/mac/WebView/WebFullScreenController.mm:208:53: error: 'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.
208 | RetainPtr<CGImageRef> webViewContents = adoptCF(CGWindowListCreateImage(NSRectToCGRect(webViewFrame), kCGWindowListOptionIncludingWindow, windowID, kCGWindowImageShouldBeOpaque));
| ^
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
I can reproduce this with Xcode 16 beta 4.
Radar WebKit Bug Importer
<rdar://problem/133237307>
Eric Carlson
Pull request: https://github.com/WebKit/WebKit/pull/31964
EWS
Committed 282351@main (56fcab972661): <https://commits.webkit.org/282351@main>
Reviewed commits have been landed. Closing PR #31964 and removing active labels.
Eric Carlson
This caused 278360 so the changes were rolled out in https://commits.webkit.org/282475@main.
Eric Carlson
Pull request: https://github.com/WebKit/WebKit/pull/32687
EWS
Committed 282791@main (ea20b8a718cd): <https://commits.webkit.org/282791@main>
Reviewed commits have been landed. Closing PR #32687 and removing active labels.