Adopt more smart pointers in LocalFrame.
Pull request: https://github.com/WebKit/WebKit/pull/19784
Committed 270055@main (af577292e5e8): <https://commits.webkit.org/270055@main> Reviewed commits have been landed. Closing PR #19784 and removing active labels.
<rdar://problem/117796912>