Use more smart pointers in rendering code.
Pull request: https://github.com/WebKit/WebKit/pull/17723
Committed 267973@main (c0f8683a0277): <https://commits.webkit.org/267973@main> Reviewed commits have been landed. Closing PR #17723 and removing active labels.
<rdar://problem/115456135>