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)
Keywords: InRadar
Depends on:
Reported: 2022-06-18 21:38 PDT by Cameron McCormack (:heycam)
Modified: 2022-06-25 21:39 PDT (History)
3 users (show)

See Also:


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