Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6cda38154aafc2d06ab324d18ae19610c4330053
https://github.com/WebKit/WebKit/commit/6cda38154aafc2d06ab324d18ae19610c4330053
Author: Ahmad Saleem <[email protected]>
Date: 2026-07-06 (Mon, 06 Jul 2026)
Changed paths:
M Source/WebCore/rendering/RenderLayerBacking.cpp
M Source/WebCore/rendering/RenderLayerBacking.h
Log Message:
-----------
Extract duplicated reflection/replica layer update into
RenderLayerBacking::updateReflectionLayer()
https://bugs.webkit.org/show_bug.cgi?id=318609
rdar://181403209
Reviewed by Simon Fraser.
RenderLayerBacking::updateConfigurationAfterStyleChange() and
RenderLayerBacking::updateConfiguration() each contained an identical six-line
block that wires up (or clears) the replica GraphicsLayer for a reflection.
Factor it into a single updateReflectionLayer() helper and call it from both
sites. No behavior change.
* Source/WebCore/rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateReflectionLayer):
(WebCore::RenderLayerBacking::updateConfigurationAfterStyleChange):
(WebCore::RenderLayerBacking::updateConfiguration):
* Source/WebCore/rendering/RenderLayerBacking.h:
Canonical link: https://commits.webkit.org/316558@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications