Skip to content

Commit

Permalink
Make WebCore::findWordBoundary testable
Browse files Browse the repository at this point in the history
<https://bugs.webkit.org/show_bug.cgi?id=273833>
<rdar://127680934>

Reviewed by Alex Christensen.

* Source/WebCore/platform/text/TextBoundaries.h:
(WebCore::findWordBoundary): Export.

Canonical link: https://commits.webkit.org/278482@main
  • Loading branch information
David Kilzer authored and ddkilzer committed May 7, 2024
1 parent de000c7 commit c889898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WebCore/platform/text/TextBoundaries.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ inline bool requiresContextForWordBoundary(char32_t character)
unsigned endOfFirstWordBoundaryContext(StringView);
unsigned startOfLastWordBoundaryContext(StringView);

void findWordBoundary(StringView, int position, int* start, int* end);
WEBCORE_EXPORT void findWordBoundary(StringView, int position, int* start, int* end);
void findEndWordBoundary(StringView, int position, int* end);
int findNextWordFromIndex(StringView, int position, bool forward);

Expand Down

0 comments on commit c889898

Please sign in to comment.