Index: Source/core/page/TouchAdjustment.cpp |
diff --git a/Source/core/page/TouchAdjustment.cpp b/Source/core/page/TouchAdjustment.cpp |
index eb8412355a8bb7ab4b1d1926d7faa33e338ae01a..20dad3513ab4d3a277ccb746ddae718761fc60f5 100644 |
--- a/Source/core/page/TouchAdjustment.cpp |
+++ b/Source/core/page/TouchAdjustment.cpp |
@@ -158,11 +158,11 @@ static inline void appendContextSubtargetsForNode(Node* node, SubtargetGeometryL |
// Make subtargets out of every word. |
String textValue = textNode->data(); |
TextBreakIterator* wordIterator = wordBreakIterator(textValue, 0, textValue.length()); |
- int lastOffset = textBreakFirst(wordIterator); |
+ int lastOffset = wordIterator->first(); |
if (lastOffset == -1) |
return; |
int offset; |
- while ((offset = textBreakNext(wordIterator)) != -1) { |
+ while ((offset = wordIterator->next()) != -1) { |
if (isWordTextBreak(wordIterator)) { |
Vector<FloatQuad> quads; |
textRenderer->absoluteQuadsForRange(quads, lastOffset, offset); |