I got such review feedback during https://github.com/WebKit/WebKit/pull/5641 and it turns out CSSScale::create() had the same problem.
Pull request: https://github.com/WebKit/WebKit/pull/5644
Committed 255864@main (24da58ad6fed): <https://commits.webkit.org/255864@main> Reviewed commits have been landed. Closing PR #5644 and removing active labels.
<rdar://problem/101453650>