Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: af2790cb92805ecbfa41b067b8527a8fbc464912
https://github.com/WebKit/WebKit/commit/af2790cb92805ecbfa41b067b8527a8fbc464912
Author: Alan Baradlay <[email protected]>
Date: 2026-03-25 (Wed, 25 Mar 2026)
Changed paths:
M Source/WebCore/dom/Element.cpp
Log Message:
-----------
[cleanup] Remove redundant forEachRenderLayer from Element
https://bugs.webkit.org/show_bug.cgi?id=310729
Reviewed by Simon Fraser.
The forEachRenderLayer helper was introduced to iterate over multiple
render layers (continuations) for an element, but continuations are gone now.
Inline the layer access directly at the callsites in
addToTopLayer/removeFromTopLayer.
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::addToTopLayer):
(WebCore::Element::removeFromTopLayer):
(WebCore::forEachRenderLayer): Deleted.
Canonical link: https://commits.webkit.org/309952@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications