Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 71982932a0f3efba1f5a39ef81865ccd2b31765a
https://github.com/WebKit/WebKit/commit/71982932a0f3efba1f5a39ef81865ccd2b31765a
Author: Matt Woodrow <[email protected]>
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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes