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   

Cameron McCormack (:heycam)
Reported 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.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-07-23 13:33:49 PDT
Cameron McCormack (:heycam)
Comment 2 2023-07-23 13:37:14 PDT
EWS
Comment 3 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.
Note You need to log in before you can comment on or make changes to this bug.