Bug 241822 - Eliminate one repaint from SVGResourcesCache::clientLayoutChanged
Summary: Eliminate one repaint from SVGResourcesCache::clientLayoutChanged
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Cameron McCormack (:heycam)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-06-21 15:27 PDT by Cameron McCormack (:heycam)
Modified: 2022-06-21 22:59 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron McCormack (:heycam) 2022-06-21 15:27:28 PDT
The repaint that happens due to the SVGResources::removeClientFromCache call under LegacyRenderSVGShape::layout is redundant with the repaint that the LayoutRepainter does.
Comment 1 Cameron McCormack (:heycam) 2022-06-21 15:27:51 PDT
rdar://90720945
Comment 2 Cameron McCormack (:heycam) 2022-06-21 15:34:07 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1661
Comment 3 Cameron McCormack (:heycam) 2022-06-21 22:01:08 PDT
rdar://95435464
Comment 4 EWS 2022-06-21 22:59:03 PDT
Committed r295722 (251727@main): <https://commits.webkit.org/251727@main>

Reviewed commits have been landed. Closing PR #1661 and removing active labels.