The implementation is the same, so we can move it to Widget.cpp inside the existing ifdef for non cocoa ports.
Pull request: https://github.com/WebKit/WebKit/pull/20536
Committed 270815@main (6c9e966625a3): <https://commits.webkit.org/270815@main> Reviewed commits have been landed. Closing PR #20536 and removing active labels.
<rdar://problem/118497432>