haikuwebkit/Source/WebCore/platform/text/mac
Ryosuke Niwa a7eb7e49ee [macOS] Stop away unpaired surrogate pair in findNextWordFromIndex:forward:
https://bugs.webkit.org/show_bug.cgi?id=228496

Reviewed by Darin Adler.

Replace unpaired surrogate pairs with the replacement character before calling findNextWordFromIndex:forward:

* platform/text/mac/TextBoundaries.mm:
(WebCore::findNextWordFromIndex):


Canonical link: https://commits.webkit.org/240016@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280369 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-07-28 02:20:42 +00:00
..
TextBoundaries.mm
TextCheckingMac.mm
TextEncodingRegistryMac.mm