| Index: Source/core/editing/ReplaceSelectionCommand.cpp
|
| diff --git a/Source/core/editing/ReplaceSelectionCommand.cpp b/Source/core/editing/ReplaceSelectionCommand.cpp
|
| index 3f6691d3d0ee2461759ecfebc3230e46b7fae6de..f86777b2ee129597dcadf87fefacdf53da26695b 100644
|
| --- a/Source/core/editing/ReplaceSelectionCommand.cpp
|
| +++ b/Source/core/editing/ReplaceSelectionCommand.cpp
|
| @@ -346,7 +346,7 @@ inline void ReplaceSelectionCommand::InsertedNodes::willRemoveNode(Node& node)
|
| } else if (m_firstNodeInserted == node)
|
| m_firstNodeInserted = NodeTraversal::nextSkippingChildren(m_firstNodeInserted.get());
|
| else if (m_lastNodeInserted == node)
|
| - m_lastNodeInserted = NodeTraversal::previousSkippingChildren(m_lastNodeInserted.get());
|
| + m_lastNodeInserted = NodeTraversal::previousSkippingChildren(*m_lastNodeInserted);
|
| }
|
|
|
| inline void ReplaceSelectionCommand::InsertedNodes::didReplaceNode(Node& node, Node& newNode)
|
|
|