| Index: third_party/WebKit/Source/core/editing/iterators/WordAwareIterator.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/iterators/WordAwareIterator.cpp b/third_party/WebKit/Source/core/editing/iterators/WordAwareIterator.cpp
|
| index 0efac793d0874d28a076393c2eaa862c1af0d7d2..804840a29aab6c5643ffb0045b85b9df5c49c16a 100644
|
| --- a/third_party/WebKit/Source/core/editing/iterators/WordAwareIterator.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/iterators/WordAwareIterator.cpp
|
| @@ -61,7 +61,7 @@ void WordAwareIterator::advance()
|
|
|
| while (1) {
|
| // If this chunk ends in whitespace we can just use it as our chunk.
|
| - if (isSpaceOrNewline(m_textIterator.text().characterAt(m_textIterator.length() - 1)))
|
| + if (isSpaceOrNewline(m_textIterator.characterAt(m_textIterator.length() - 1)))
|
| return;
|
|
|
| // If this is the first chunk that failed, save it in m_buffer before look ahead.
|
|
|