Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f067dde25fd8e9c4492f2922bee96168c1778813
https://github.com/WebKit/WebKit/commit/f067dde25fd8e9c4492f2922bee96168c1778813
Author: Abrar Rahman Protyasha <[email protected]>
Date: 2026-05-09 (Sat, 09 May 2026)
Changed paths:
M Source/WebKit/UIProcess/mac/SwipeProgressTrackerMac.h
M Source/WebKit/UIProcess/mac/SwipeProgressTrackerMac.mm
Log Message:
-----------
REGRESSION(310189@main): SwipeProgressTracker::displayLinkFired() can assert
under WeakRef::get() on the CVDisplayLink thread
https://bugs.webkit.org/show_bug.cgi?id=314462
rdar://176624705
Reviewed by Richard Robinson.
SwipeProgressTracker::displayLinkFired may be called off the main
thread, but it dereferences a WeakRef<WebPageProxy> instance which has
main-thread assertions. Since we only access the WeakRef to obtain the
page identifier for dispatching to the main runloop, this patch stores
the identifier as a member at creation time and uses it directly in the
callback, matching precedent set by RemoteLayerTreeDisplayLinkClient.
* Source/WebKit/UIProcess/mac/SwipeProgressTrackerMac.h:
* Source/WebKit/UIProcess/mac/SwipeProgressTrackerMac.mm:
(WebKit::SwipeProgressTracker::SwipeProgressTracker):
(WebKit::SwipeProgressTracker::displayLinkFired):
Canonical link: https://commits.webkit.org/312958@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications