Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 19ea038aa361360486050f5c7d68448acb8bcc5b
https://github.com/WebKit/WebKit/commit/19ea038aa361360486050f5c7d68448acb8bcc5b
Author: Simon Fraser <[email protected]>
Date: 2026-03-30 (Mon, 30 Mar 2026)
Changed paths:
M Source/WebCore/page/scrolling/ScrollingTree.cpp
M Source/WebCore/page/scrolling/ScrollingTree.h
M Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.cpp
M
Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp
Log Message:
-----------
Simplify applyScrollingTreeLayerPositionsAfterCommit() code
https://bugs.webkit.org/show_bug.cgi?id=311121
rdar://173708824
Reviewed by Abrar Rahman Protyasha.
`RemoteScrollingCoordinatorProxy::applyScrollingTreeLayerPositionsAfterCommit()`,
used by both macOS and iOS,
always calls `setNeedsApplyLayerPositionsAfterCommit()`, so in
`ScrollingTree::applyLayerPositionsAfterCommit()`
`m_needsApplyLayerPositionsAfterCommit` is always true. We can remove it and
simplify.
* Source/WebCore/page/scrolling/ScrollingTree.cpp:
(WebCore::ScrollingTree::applyLayerPositionsAfterCommit): Deleted.
* Source/WebCore/page/scrolling/ScrollingTree.h:
(WebCore::ScrollingTree::setNeedsApplyLayerPositionsAfterCommit): Deleted.
* Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.cpp:
(WebCore::ScrollingTreeScrollingNode::wasScrolledByDelegatedScrolling):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp:
(WebKit::RemoteScrollingCoordinatorProxy::applyScrollingTreeLayerPositionsAfterCommit):
Canonical link: https://commits.webkit.org/310260@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications