It's only used by isAccessibilityTextSearchMatch() in AccessibilityObject.cpp. We can move the implementation there and avoid to include TextIterator.h in AccessibilityObjectInterface.h
<rdar://problem/83134668>
Created attachment 438221 [details] Patch
Looks good.
Committed r282448 (241701@main): <https://commits.webkit.org/241701@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 438221 [details].