[webkit-changes] [WebKit/WebKit] 719829: allowsSortsSublayers was renamed in QuartzCore to ...
mattwoodrow
noreply at github.com
Thu Dec 22 13:28:31 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 71982932a0f3efba1f5a39ef81865ccd2b31765a
https://github.com/WebKit/WebKit/commit/71982932a0f3efba1f5a39ef81865ccd2b31765a
Author: Matt Woodrow <mattwoodrow at apple.com>
Date: 2022-12-22 (Thu, 22 Dec 2022)
Changed paths:
M Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h
M Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm
Log Message:
-----------
allowsSortsSublayers was renamed in QuartzCore to usesWebKitBehavior
https://bugs.webkit.org/show_bug.cgi?id=249759
<rdar://103620328>
Reviewed by Simon Fraser.
This moves the forward declaration of the property to not be inside of USE(APPLE_INTERNAL_SDK), so that builds without the change still compile.
Runtime is handled by a respondsToSelector check, so it's ok to compile without the property available.
The new usesWebKitBehavior property applies to all layers, not just transform layers, so we unconditionally set it.
No test expectation changes at this point, since CALAYER_USES_WEBKIT_BEHAVIOR isn't enabled yet.
* Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h:
* Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:
(WebCore::PlatformCALayerCocoa::commonInit):
Canonical link: https://commits.webkit.org/258256@main
More information about the webkit-changes
mailing list