Bug 259430

Summary: Use a new type PathCloseSubpath instead of std::monostate to represent a close command in PathSegment
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: Layout and RenderingAssignee: Cameron McCormack (:heycam) <heycam>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Cameron McCormack (:heycam) 2023-07-23 13:33:32 PDT
Adding an empty struct lets us treat this command like all the others, and not special case it in the WTF::switchOn calls in PathSegment.cpp.
Comment 1 Radar WebKit Bug Importer 2023-07-23 13:33:49 PDT
<rdar://problem/112741404>
Comment 2 Cameron McCormack (:heycam) 2023-07-23 13:37:14 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16023
Comment 3 EWS 2023-07-24 14:00:58 PDT
Committed 266264@main (fe314ea4b982): <https://commits.webkit.org/266264@main>

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