Use an enum class for SVGPathSegType.
Pull request: https://github.com/WebKit/WebKit/pull/17256
Committed 267497@main (f8ea32b01fda): <https://commits.webkit.org/267497@main> Reviewed commits have been landed. Closing PR #17256 and removing active labels.
<rdar://problem/114762110>