Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REGRESSION (263108@main): [ Ventura debug ] ASSERTION FAILED: WTF::We…
…akPtr<WebKit::RemoteScrollingCoordinatorProxy, WTF::DefaultWeakPtrImpl>::operator->() const https://bugs.webkit.org/show_bug.cgi?id=255788 rdar://108369779 Reviewed by Tim Horton. Add a missing bounce to the main thread before calling `scrollingTreeNodeDidBeginScrollSnapping` or `scrollingTreeNodeDidEndScrollSnapping` in the UI process on macOS. * Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingTreeMac.h: * Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingTreeMac.mm: (WebKit::RemoteScrollingTreeMac::scrollingTreeNodeWillStartScroll): (WebKit::RemoteScrollingTreeMac::scrollingTreeNodeDidEndScroll): Also harden some existing logic (as well as the new methods below) so that they explicitly protect `this` when calling out to the main thread. (WebKit::RemoteScrollingTreeMac::scrollingTreeNodeDidBeginScrollSnapping): (WebKit::RemoteScrollingTreeMac::scrollingTreeNodeDidEndScrollSnapping): Canonical link: https://commits.webkit.org/263271@main
- Loading branch information