| Index: Source/core/rendering/AbstractInlineTextBox.cpp
|
| diff --git a/Source/core/rendering/AbstractInlineTextBox.cpp b/Source/core/rendering/AbstractInlineTextBox.cpp
|
| index becc7cfbdff3b10b01113e25d1aa2b70def91fde..81a40048a484a9aaf1364d5f2795dbf111d9e685 100644
|
| --- a/Source/core/rendering/AbstractInlineTextBox.cpp
|
| +++ b/Source/core/rendering/AbstractInlineTextBox.cpp
|
| @@ -132,6 +132,11 @@ void AbstractInlineTextBox::wordBoundaries(Vector<WordBoundaries>& words) const
|
| String text = this->text();
|
| int len = text.length();
|
| TextBreakIterator* iterator = wordBreakIterator(text, 0, len);
|
| +
|
| + // FIXME: When http://crbug.com/411764 is fixed, replace this with an ASSERT.
|
| + if (!iterator)
|
| + return;
|
| +
|
| int pos = iterator->first();
|
| while (pos >= 0 && pos < len) {
|
| int next = iterator->next();
|
|
|