The coordinator calls syncPendingStateChangesIncludingSubLayers on the root graphics layer, that doesn't really sync anything, every layer checks if there's a pending stater sync and calls CompositingCoordinator::syncLayerState() to mark m_shouldSyncFrame as true. We can remove the dependency of the layer on the compositor by making syncPendingStateChangesIncludingSubLayers return whether the sync should happen or not.
Pull request: https://github.com/WebKit/WebKit/pull/19275
Committed 269560@main (5a023aa72619): <https://commits.webkit.org/269560@main> Reviewed commits have been landed. Closing PR #19275 and removing active labels.