[webkit-changes] [WebKit/WebKit] fc9165: InteractionRegion groupNames should be scoped per ...
Etienne Segonzac
noreply at github.com
Fri Jul 7 11:31:17 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fc9165ace4513a004eb679ad47e9c9547d4680b3
https://github.com/WebKit/WebKit/commit/fc9165ace4513a004eb679ad47e9c9547d4680b3
Author: Etienne Segonzac <sgz at apple.com>
Date: 2023-07-07 (Fri, 07 Jul 2023)
Changed paths:
M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeInteractionRegionLayers.h
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeInteractionRegionLayers.mm
Log Message:
-----------
InteractionRegion groupNames should be scoped per layer
https://bugs.webkit.org/show_bug.cgi?id=258881
<rdar://110730883>
Reviewed by Tim Horton.
Add the host layer's ID to the Interaction Region layer `groupName`.
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeInteractionRegionLayers.h:
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeInteractionRegionLayers.mm:
(WebKit::updateLayersForInteractionRegions):
Update the method's signature to take a `RemoteLayerTreeNode` ref, we
don't use the RemoteLayerTreeHost.
(WebKit::interactionRegionGroupNameForRegion):
Use the `layerID` when generating the group name.
* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm:
(WebKit::RemoteLayerTreePropertyApplier::applyProperties):
Update the call site.
Canonical link: https://commits.webkit.org/265856@main
More information about the webkit-changes
mailing list