[webkit-changes] [WebKit/WebKit] 9eca15: Avoid refcount churn for FillLayers without images.
mattwoodrow
noreply at github.com
Mon Dec 9 16:56:52 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9eca15d5df1cf8a1fbf2a7dc6ded1fbed29ceb25
https://github.com/WebKit/WebKit/commit/9eca15d5df1cf8a1fbf2a7dc6ded1fbed29ceb25
Author: Matt Woodrow <mattwoodrow at apple.com>
Date: 2024-12-09 (Mon, 09 Dec 2024)
Changed paths:
M Source/WebCore/rendering/RenderElement.cpp
Log Message:
-----------
Avoid refcount churn for FillLayers without images.
https://bugs.webkit.org/show_bug.cgi?id=284256
<rdar://141130071>
Reviewed by Simon Fraser.
The background layers and mask layers property on RenderStyle always has at
least one FillLayer, even without an image. updateFillImages increments and then
decrements the refcount of these for every element with a changed style in
RenderElement::styleDidChange.
* Source/WebCore/rendering/RenderElement.cpp:
(WebCore::RenderElement::styleDidChange):
Canonical link: https://commits.webkit.org/287581@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