Bug 257353

Summary: Avoid creating an entry in RenderSVGResourceClipper::m_clipperMap if we can do path-only clipping
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: SVGAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: changseok, dino, esprehn+autocc, ews-watchlist, fmalita, glenn, gyuyoung.kim, heycam, kondapallykalyan, pdr, sabouhallawa, schenney, sergio, simon.fraser, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Simon Fraser (smfr)
Reported 2023-05-25 14:41:34 PDT
RenderSVGResourceClipper::applyClippingToContext() unconditionally creates an entry in m_clipperMap, but we only need this cache entry if we're rendering into an image buffer.
Attachments
Patch (3.07 KB, patch)
2023-05-25 17:02 PDT, Simon Fraser (smfr)
no flags
Radar WebKit Bug Importer
Comment 1 2023-05-25 14:42:46 PDT
Simon Fraser (smfr)
Comment 2 2023-05-25 17:02:19 PDT
EWS
Comment 3 2023-05-25 21:37:44 PDT
Committed 264557@main (8e6ce4dc41c7): <https://commits.webkit.org/264557@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 466502 [details].
Note You need to log in before you can comment on or make changes to this bug.