| Index: Source/core/editing/TextIterator.cpp
|
| diff --git a/Source/core/editing/TextIterator.cpp b/Source/core/editing/TextIterator.cpp
|
| index 6707368338caeb3303ee5a110db3df32ce3d9be2..50b33fa976b04c36a2a2898b48f20a43260b780a 100644
|
| --- a/Source/core/editing/TextIterator.cpp
|
| +++ b/Source/core/editing/TextIterator.cpp
|
| @@ -386,7 +386,7 @@ void TextIterator::advance()
|
| if (!next) {
|
| next = m_node->nextSibling();
|
| if (!next) {
|
| - bool pastEnd = NodeTraversal::next(m_node) == m_pastEndNode;
|
| + bool pastEnd = NodeTraversal::next(*m_node) == m_pastEndNode;
|
| Node* parentNode = m_node->parentOrShadowHostNode();
|
| while (!next && parentNode) {
|
| if ((pastEnd && parentNode == m_endContainer) || m_endContainer->isDescendantOf(parentNode))
|
|
|