Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5e00cc4872b0701509749ada8fa4e440642ea8d3
https://github.com/WebKit/WebKit/commit/5e00cc4872b0701509749ada8fa4e440642ea8d3
Author: Simon Fraser <[email protected]>
Date: 2026-02-18 (Wed, 18 Feb 2026)
Changed paths:
M Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp
M Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.cpp
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm
M
Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.h
Log Message:
-----------
Clean up requested scroll handling in
RemoteLayerTreeDrawingAreaProxy::commitLayerTreeTransaction()
https://bugs.webkit.org/show_bug.cgi?id=308159
rdar://170668029
Reviewed by Tim Horton.
iOS has special requirements in
`RemoteLayerTreeDrawingAreaProxy::commitLayerTreeTransaction()`
where it needs to wait until the layer tree commit is done before applying
programmatic scrolls.
Clean this up by moving a chunk of code into the
RemoteScrollingCoordinatorProxy.
Also do some minor cleanup here; remove `ENABLE(ASYNC_SCROLLING)` since that's
always true
for Cocoa platforms. Move `requestedScroll` inside the block.
* Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp:
(WebCore::AsyncScrollingCoordinator::requestScrollToPosition): Cleanup to
create the
RequestedScrollData once, then modify it for deltas.
* Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.cpp:
(WebCore::ScrollingTreeScrollingNode::handleScrollPositionRequest): Some extra
logging.
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm:
(WebKit::RemoteLayerTreeDrawingAreaProxy::commitLayerTreeTransaction):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp:
(WebKit::RemoteScrollingCoordinatorProxy::adjustMainFrameDelegatedScrollPosition):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.h:
Canonical link: https://commits.webkit.org/307801@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications