Bug 241754 - Simplify non-scaling-stroke handling in (Legacy)RenderSVGShape
Summary: Simplify non-scaling-stroke handling in (Legacy)RenderSVGShape
Status: NEW
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-18 21:38 PDT by Cameron McCormack (:heycam)
Modified: 2022-06-25 21:39 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-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
<rdar://problem/95923637>