Bug 257004

Summary: RemoteLayerTreeDisplayRefreshMonitor::requestRefreshCallback doesn't clear scheduled state
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: Layout and RenderingAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Matt Woodrow
Reported 2023-05-18 18:45:11 PDT
RemoteLayerTreeDisplayRefreshMonitor::requestRefreshCallback dispatches a task to the main thread and sets scheduled to true. When that task runs, it triggers the rendering update but doesn't set scheduled back to false. Normally, the rendering update results in a commit to the UI process, and then we get a RemoteLayerTreeDrawingArea::displayDidRefresh callback, which sets scheduled to false (but also triggers a second rendering update).
Attachments
Matt Woodrow
Comment 1 2023-05-18 18:45:43 PDT
Matt Woodrow
Comment 2 2023-05-18 18:50:08 PDT
EWS
Comment 3 2023-05-20 18:40:10 PDT
Committed 264297@main (f0847a50740a): <https://commits.webkit.org/264297@main> Reviewed commits have been landed. Closing PR #14052 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.