[webkit-changes] [WebKit/WebKit] 08bde5: [threaded-animation-resolution] ensure we stop ani...
Antoine Quint
noreply at github.com
Sun Feb 4 22:32:37 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 08bde5f5ce3b0b65440c2f629c9349a900f1b992
https://github.com/WebKit/WebKit/commit/08bde5f5ce3b0b65440c2f629c9349a900f1b992
Author: Antoine Quint <graouts at webkit.org>
Date: 2024-02-04 (Sun, 04 Feb 2024)
Changed paths:
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm
Log Message:
-----------
[threaded-animation-resolution] ensure we stop animation-related tasks when an animated node is removed
https://bugs.webkit.org/show_bug.cgi?id=268717
rdar://122278779
Reviewed by Simon Fraser.
It is possible a `RemoteLayerTreeNode` will be removed while it is registered with
`RemoteScrollingCoordinatorProxyIOS` as an animated node in `m_animatedNodeLayerIDs`.
We need to ensure than when a node is removed from the remote layer tree, any
notion of it being animated is cleared by calling `animationsWereRemovedFromNode()`
in `RemoteLayerTreeHost::layerWillBeRemoved()`.
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm:
(WebKit::RemoteLayerTreeHost::layerWillBeRemoved):
Canonical link: https://commits.webkit.org/274086@main
More information about the webkit-changes
mailing list