Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0032f864accb788222571a130b059a20b2770178
      
https://github.com/WebKit/WebKit/commit/0032f864accb788222571a130b059a20b2770178
  Author: Simon Fraser <[email protected]>
  Date:   2026-05-07 (Thu, 07 May 2026)

  Changed paths:
    M Source/WebCore/rendering/RenderLayerBacking.cpp

  Log Message:
  -----------
  Code cleanup around traverseVisibleNonCompositedDescendantLayers after 
312702@main
https://bugs.webkit.org/show_bug.cgi?id=314280
rdar://176422390

Reviewed by Dan Glastonbury and Brent Fulgham.

Improve code clarity around the 
`traverseVisibleNonCompositedDescendantLayers()` call;
instead of pushing the `SharedBackingInclusion` state into that function, add a 
wrapper
that calls the original version of the function first on `m_owningLayer`, and 
then on
each of the `backingSharingLayers`.

* Source/WebCore/rendering/RenderLayerBacking.cpp:
(WebCore::traverseVisibleNonCompositedDescendantLayers):
(WebCore::traverseLayersForPaintedContentDetection):
(WebCore::RenderLayerBacking::determineNonCompositedLayerDescendantsPaintedContent
 const):
(WebCore::RenderLayerBacking::hasVisibleNonCompositedDescendants const):

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



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

Reply via email to