Bug 241754

Summary: Simplify non-scaling-stroke handling in (Legacy)RenderSVGShape
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: SVGAssignee: Cameron McCormack (:heycam) <heycam>
Status: NEW ---    
Severity: Normal CC: sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Cameron McCormack (:heycam) 2022-06-18 21:38:17 PDT
(Legacy)RenderSVGShape::nonScalingStrokePath has a static variable that stores the returned Path, presumably so that it can live long enough for the caller to make use of it. We can simplify this by returning Path object directly.
Comment 1 Cameron McCormack (:heycam) 2022-06-18 22:01:39 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1619
Comment 2 Radar WebKit Bug Importer 2022-06-25 21:39:13 PDT