| Index: Source/core/editing/iterators/TextIterator.cpp
|
| diff --git a/Source/core/editing/iterators/TextIterator.cpp b/Source/core/editing/iterators/TextIterator.cpp
|
| index 3c6856fb89376b03df5d1cf4472e89bac838d9d4..79cd9300c05fb4be633219a2f2e968dc9c1b2f6d 100644
|
| --- a/Source/core/editing/iterators/TextIterator.cpp
|
| +++ b/Source/core/editing/iterators/TextIterator.cpp
|
| @@ -485,7 +485,7 @@ bool TextIteratorAlgorithm<Strategy>::handleTextNode()
|
| template<typename Strategy>
|
| void TextIteratorAlgorithm<Strategy>::handleTextBox()
|
| {
|
| - LayoutText* layoutObject = m_firstLetterText ? m_firstLetterText.get() : toLayoutText(m_node->layoutObject());
|
| + LayoutText* layoutObject = m_firstLetterText ? m_firstLetterText : toLayoutText(m_node->layoutObject());
|
|
|
| if (layoutObject->style()->visibility() != VISIBLE && !ignoresStyleVisibility()) {
|
| m_textBox = nullptr;
|
|
|