[webkit-changes] [WebKit/WebKit] 995f73: REGRESSION(285812 at main): [Win] ASSERTION FAILED: !...

Fujii Hironori noreply at github.com
Tue Oct 29 16:14:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 995f738a7e0017791a59ec7ad7a2fdb110f1caae
      https://github.com/WebKit/WebKit/commit/995f738a7e0017791a59ec7ad7a2fdb110f1caae
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2024-10-29 (Tue, 29 Oct 2024)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/wc/GraphicsLayerWC.cpp

  Log Message:
  -----------
  REGRESSION(285812 at main): [Win] ASSERTION FAILED: !m_flushingLayers in WebCore::RenderLayerCompositor::scheduleRenderingUpdate()
https://bugs.webkit.org/show_bug.cgi?id=282278

Reviewed by Simon Fraser.

After <https://commits.webkit.org/285812@main>, Windows port Debug
builds were failing an assertion because layer flushing was requested
while layers were flushing. GraphicsLayerWC::setBackgroundColor is
called to the content root layer while a descendant layer is painting.

A member variable m_isFlushing of GraphicsLayerWC class is the flag to
prevent requesting layer flush during layer flushing. m_isFlushing
should be true even while flushing descendant layers.

* Source/WebKit/WebProcess/WebPage/wc/GraphicsLayerWC.cpp:
(WebKit::GraphicsLayerWC::flushCompositingStateForThisLayerOnly):
(WebKit::GraphicsLayerWC::recursiveCommitChanges):

Canonical link: https://commits.webkit.org/285867@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list