Bug 284256
Summary: | Avoid refcount churn for FillLayers without images | ||
---|---|---|---|
Product: | WebKit | Reporter: | Matt Woodrow <mattwoodrow> |
Component: | Layout and Rendering | Assignee: | Matt Woodrow <mattwoodrow> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Matt Woodrow
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/141130071>
Matt Woodrow
Pull request: https://github.com/WebKit/WebKit/pull/37609
EWS
Committed 287581@main (9eca15d5df1c): <https://commits.webkit.org/287581@main>
Reviewed commits have been landed. Closing PR #37609 and removing active labels.