Index: Source/core/editing/ReplaceSelectionCommand.h |
diff --git a/Source/core/editing/ReplaceSelectionCommand.h b/Source/core/editing/ReplaceSelectionCommand.h |
index dfe26478075ab5cc673a389b5fb80419f0dd96ff..ee3879b22588302654f7274113164c24e4dbca55 100644 |
--- a/Source/core/editing/ReplaceSelectionCommand.h |
+++ b/Source/core/editing/ReplaceSelectionCommand.h |
@@ -67,7 +67,7 @@ private: |
Node* firstNodeInserted() const { return m_firstNodeInserted.get(); } |
Node& lastLeafInserted() const { ASSERT(m_lastNodeInserted); return m_lastNodeInserted->lastDescendant(); } |
- Node* pastLastLeaf() const { return m_lastNodeInserted ? NodeTraversal::next(&lastLeafInserted()) : 0; } |
+ Node* pastLastLeaf() const { return m_lastNodeInserted ? NodeTraversal::next(lastLeafInserted()) : 0; } |
private: |
RefPtr<Node> m_firstNodeInserted; |