Make use of more smart pointers in Source/WebKit/WebProcess/WebPage/EventDispatcher.cpp
Pull request: https://github.com/WebKit/WebKit/pull/16778
Committed 267020@main (9d6efa8b2257): <https://commits.webkit.org/267020@main> Reviewed commits have been landed. Closing PR #16778 and removing active labels.
<rdar://problem/114055340>