Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 08bde5f5ce3b0b65440c2f629c9349a900f1b992
      
https://github.com/WebKit/WebKit/commit/08bde5f5ce3b0b65440c2f629c9349a900f1b992
  Author: Antoine Quint <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to