Most of the code in Nicosia and Mac implementations is the same but duplicated in both places. We can move common code to the shared cpp file.
Pull request: https://github.com/WebKit/WebKit/pull/4565
Committed 254952@main (5065b24db425): <https://commits.webkit.org/254952@main> Reviewed commits have been landed. Closing PR #4565 and removing active labels.
<rdar://problem/100505158>