Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 2d88fb59358717a051df4d9593f929f1e9ae989b https://github.com/WebKit/WebKit/commit/2d88fb59358717a051df4d9593f929f1e9ae989b Author: Simon Fraser <simon.fra...@apple.com> Date: 2022-11-29 (Tue, 29 Nov 2022)
Changed paths: M Source/WebCore/page/scrolling/mac/ScrollingTreeMac.mm M Source/WebCore/platform/graphics/cocoa/WebCoreCALayerExtras.h M Source/WebCore/platform/graphics/cocoa/WebCoreCALayerExtras.mm Log Message: ----------- Share collectDescendantLayersAtPoint() code https://bugs.webkit.org/show_bug.cgi?id=248446 rdar://102741971 Reviewed by Wenson Hsieh. Scrolling in the UI process needs to share `collectDescendantLayersAtPoint()` code, so make it re-usable, and factor out the implementation specific parts by passing in a function. * Source/WebCore/page/scrolling/mac/ScrollingTreeMac.mm: (layerEventRegionContainsPoint): (ScrollingTreeMac::scrollingNodeForPoint): (ScrollingTreeMac::eventListenerRegionTypesForPoint const): (collectDescendantLayersAtPoint): Deleted. * Source/WebCore/platform/graphics/cocoa/WebCoreCALayerExtras.h: * Source/WebCore/platform/graphics/cocoa/WebCoreCALayerExtras.mm: (WebCore::collectDescendantLayersAtPoint): Canonical link: https://commits.webkit.org/257135@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes