Use more smart pointers in editing code.
Pull request: https://github.com/WebKit/WebKit/pull/18820
Committed 269061@main (389241b67619): <https://commits.webkit.org/269061@main> Reviewed commits have been landed. Closing PR #18820 and removing active labels.
<rdar://problem/116654667>