| Index: Source/web/ContextMenuClientImpl.cpp
|
| diff --git a/Source/web/ContextMenuClientImpl.cpp b/Source/web/ContextMenuClientImpl.cpp
|
| index c634e356c4bd7495a7dc247575dcc25ece3827ed..2400aa72ec870b7dcebe17a0898608973c9b6898 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
|
|
|