Index: Source/core/editing/TextCheckingHelper.cpp |
diff --git a/Source/core/editing/TextCheckingHelper.cpp b/Source/core/editing/TextCheckingHelper.cpp |
index 02b8f36cbf3b39ac859b9bfac3f8918e3675e3f7..03e2ebf764ab2a0a6495c99101bf01a9cbcf0864 100644 |
--- a/Source/core/editing/TextCheckingHelper.cpp |
+++ b/Source/core/editing/TextCheckingHelper.cpp |
@@ -73,9 +73,9 @@ static void findMisspellings(TextCheckerClient& client, const UChar* text, int s |
TextBreakIterator* iterator = wordBreakIterator(text + start, length); |
if (!iterator) |
return; |
- int wordStart = textBreakCurrent(iterator); |
+ int wordStart = iterator->current(); |
while (0 <= wordStart) { |
- int wordEnd = textBreakNext(iterator); |
+ int wordEnd = iterator->next(); |
if (wordEnd < 0) |
break; |
int wordLength = wordEnd - wordStart; |