Instead of having asymmetric encode/decode functions, make them symmetric and generated. Also use enum classes more, and don't store m_type since we have a vtable pointer already.
Pull request: https://github.com/WebKit/WebKit/pull/4086
Committed 254322@main (4cc03269dc5d): <https://commits.webkit.org/254322@main> Reviewed commits have been landed. Closing PR #4086 and removing active labels.
<rdar://problem/99757064>
Bug 245052 – REGRESSION(254322@main) PlatformCAAnimationWin.cpp(550,86): error C2660: 'CFArrayAppendValue': function does not take 1 arguments