Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: 3a831347b6eb37f62431225941c30d02ad061428
https://github.com/WebKit/WebKit/commit/3a831347b6eb37f62431225941c30d02ad061428
Author: Fujii Hironori <[email protected]>
Date: 2026-02-19 (Thu, 19 Feb 2026)
Changed paths:
M
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.cpp
Log Message:
-----------
Cherry-pick 307753@main (544940efdb5a).
https://bugs.webkit.org/show_bug.cgi?id=307414
[GTK][WPE][Coordinated Graphics] ASSERTION FAILURE:
(!reasons.contains(CompositionReason::RenderingUpdate) ||
!m_sceneState->pendingTiles())
https://bugs.webkit.org/show_bug.cgi?id=307414
Reviewed by Nikolas Zimmermann.
ThreadedCompositor::flushCompositingState() had an assertion:
> ASSERT(!reasons.contains(CompositionReason::RenderingUpdate) ||
!m_sceneState->pendingTiles());
This assertion ensured that no pending tiles for
CompositionReason::RenderingUpdate. However, in layout tests,
internals.layerTreeAsText() triggers flushing pending layers. It increases
pending tiles while the compositor thread is rendering layers.
Use m_state.isWaitingForTiles instead of m_sceneState->pendingTiles() for
the
assertion.
Co-authored-by: Carlos Garcia Campos <[email protected]>
*
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.cpp:
(WebKit::ThreadedCompositor::flushCompositingState):
Canonical link: https://commits.webkit.org/307753@main
Canonical link: https://commits.webkit.org/305877.80@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications