Index: Source/core/dom/PositionIterator.cpp |
diff --git a/Source/core/dom/PositionIterator.cpp b/Source/core/dom/PositionIterator.cpp |
index 772bd76139f7f22a11374f99e22376f35be8307a..5913fc3a3866c80c9cec8202d4e97547d1b3fa0f 100644 |
--- a/Source/core/dom/PositionIterator.cpp |
+++ b/Source/core/dom/PositionIterator.cpp |
@@ -41,7 +41,7 @@ PositionIterator::operator Position() const |
// FIXME: This check is inadaquete because any ancestor could be ignored by editing |
if (editingIgnoresContent(m_nodeAfterPositionInAnchor->parentNode())) |
return positionBeforeNode(m_anchorNode); |
- return positionInParentBeforeNode(m_nodeAfterPositionInAnchor); |
+ return positionInParentBeforeNode(*m_nodeAfterPositionInAnchor); |
} |
if (m_anchorNode->hasChildren()) |
return lastPositionInOrAfterNode(m_anchorNode); |