Index: Source/core/editing/VisibleUnits.cpp |
diff --git a/Source/core/editing/VisibleUnits.cpp b/Source/core/editing/VisibleUnits.cpp |
index 46273a7ee38cc4ca179ecb2289f49d8c7f4c2014..c699c4207808deb9b199ef0769f859db4e06b06b 100644 |
--- a/Source/core/editing/VisibleUnits.cpp |
+++ b/Source/core/editing/VisibleUnits.cpp |
@@ -653,9 +653,7 @@ static unsigned endWordBoundary(const UChar* characters, unsigned length, unsign |
return length; |
} |
needMoreContext = false; |
- int start, end; |
- findWordBoundary(characters, length, offset, &start, &end); |
- return end; |
+ return findWordEndBoundary(characters, length, offset); |
} |
VisiblePosition endOfWord(const VisiblePosition &c, EWordSide side) |