| Index: Source/web/ContextMenuClientImpl.cpp
|
| diff --git a/Source/web/ContextMenuClientImpl.cpp b/Source/web/ContextMenuClientImpl.cpp
|
| index 112d4f4ca9dc3aa52e674e4ef893d81970908ba6..3f3cb0c1f5c7a57cff5312e2edf01b2ed7fa79ae 100644
|
| --- a/Source/web/ContextMenuClientImpl.cpp
|
| +++ b/Source/web/ContextMenuClientImpl.cpp
|
| @@ -100,7 +100,7 @@ static WebURL urlFromFrame(Frame* frame)
|
| static bool isASingleWord(const String& text)
|
| {
|
| TextBreakIterator* it = wordBreakIterator(text, 0, text.length());
|
| - return it && textBreakNext(it) == static_cast<int>(text.length());
|
| + return it && it->next() == static_cast<int>(text.length());
|
| }
|
|
|
| // Helper function to get misspelled word on which context menu
|
|
|