Adopt more smart pointers in WidthIterator.
Pull request: https://github.com/WebKit/WebKit/pull/19851
Committed 270145@main (6a0c0be86c69): <https://commits.webkit.org/270145@main> Reviewed commits have been landed. Closing PR #19851 and removing active labels.
<rdar://problem/117875156>