-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails with “'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0” #32687
Merged
webkit-commit-queue
merged 1 commit into
WebKit:main
from
eric-carlson:soft-link-cg-window-list-create-image-patch
Aug 27, 2024
Merged
Build fails with “'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0” #32687
webkit-commit-queue
merged 1 commit into
WebKit:main
from
eric-carlson:soft-link-cg-window-list-create-image-patch
Aug 27, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
eric-carlson
added
the
Tools / Tests
Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases
label
Aug 25, 2024
EWS run on previous version of this PR (hash ec30bd2) |
webkit-ews-buildbot
added
the
merging-blocked
Applied to prevent a change from being merged
label
Aug 25, 2024
jyavenard
approved these changes
Aug 25, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r+ with comments
jyavenard
reviewed
Aug 25, 2024
eric-carlson
removed
the
merging-blocked
Applied to prevent a change from being merged
label
Aug 27, 2024
eric-carlson
force-pushed
the
soft-link-cg-window-list-create-image-patch
branch
from
August 27, 2024 04:39
ec30bd2
to
25a0999
Compare
EWS run on current version of this PR (hash 25a0999) |
… in macOS 15.0” https://bugs.webkit.org/show_bug.cgi?id=277564 rdar://133237307 Reviewed by Jean-Yves Avenard. Softlink `CGWindowListCreateImage` so we can call it in PAL to avoid the obsolete error when building. Ultimately we should replace it by using ScreenCaptureKit, but doing so causes a 2% Speedometer regression so do this for now. * Source/WebCore/PAL/pal/cg/CoreGraphicsSoftLink.cpp: * Source/WebCore/PAL/pal/cg/CoreGraphicsSoftLink.h: * Source/WebCore/SourcesCocoa.txt: * Source/WebCore/WebCore.xcodeproj/project.pbxproj: * Source/WebCore/platform/graphics/cg/CGWindowUtilities.cpp: Added. (WebCore::cgWindowListCreateImage): * Source/WebCore/platform/graphics/cg/CGWindowUtilities.h: Added. * Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h: * Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm: (-[WKWebView _windowSnapshotInRect:withOptions:]): * Source/WebKit/UIProcess/mac/WKFullScreenWindowController.mm: (-[WKFullScreenWindowController enterFullScreen:]): (takeWindowSnapshot): * Source/WebKit/UIProcess/mac/WebViewImpl.mm: (WebKit::takeWindowSnapshot): * Source/WebKitLegacy/mac/WebView/WebFullScreenController.mm: (-[WebFullScreenController enterFullScreen:]): * Source/WebKitLegacy/mac/WebView/WebView.mm: (-[WebView _windowSnapshotInRect:withOptions:]): * Source/WebKitLegacy/mac/WebView/WebViewPrivate.h: * Tools/DumpRenderTree/mac/PixelDumpSupportMac.mm: (takeWindowSnapshot): * Tools/MiniBrowser/mac/BrowserWindowController.h: * Tools/MiniBrowser/mac/BrowserWindowController.m: (-[BrowserWindowController windowSnapshotInRect:]): (-[BrowserWindowController sharingService:transitionImageForShareItem:contentRect:]): * Tools/MiniBrowser/mac/WK1BrowserWindowController.m: (-[WK1BrowserWindowController windowSnapshotInRect:]): * Tools/MiniBrowser/mac/WK2BrowserWindowController.m: (-[WK2BrowserWindowController windowSnapshotInRect:]): * Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm: (WTR::PlatformWebView::windowSnapshotImage): Canonical link: https://commits.webkit.org/282791@main
webkit-commit-queue
force-pushed
the
soft-link-cg-window-list-create-image-patch
branch
from
August 27, 2024 15:34
25a0999
to
ea20b8a
Compare
Committed 282791@main (ea20b8a): https://commits.webkit.org/282791@main Reviewed commits have been landed. Closing PR #32687 and removing active labels. |
webkit-commit-queue
removed
the
merge-queue
Applied to send a pull request to merge-queue
label
Aug 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Tools / Tests
Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ea20b8a
25a0999