I want to add another one of these methods in a future patch and noticed they could be simplified.
Created attachment 448126 [details] Patch
Created attachment 448127 [details] Patch
Committed r287498 (245633@main): <https://commits.webkit.org/245633@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 448127 [details].
<rdar://problem/87038183>