Index: Source/core/editing/InsertParagraphSeparatorCommand.cpp |
diff --git a/Source/core/editing/InsertParagraphSeparatorCommand.cpp b/Source/core/editing/InsertParagraphSeparatorCommand.cpp |
index 5c129488e43494cf14ca750f4e237fcb0b2280e3..ddfe1d26d77ea1bd4ae22fd3e991d451e593da23 100644 |
--- a/Source/core/editing/InsertParagraphSeparatorCommand.cpp |
+++ b/Source/core/editing/InsertParagraphSeparatorCommand.cpp |
@@ -395,7 +395,7 @@ void InsertParagraphSeparatorCommand::doApply() |
else { |
Node* splitTo = insertionPosition.containerNode(); |
if (splitTo->isTextNode() && insertionPosition.offsetInContainerNode() >= caretMaxOffset(splitTo)) |
- splitTo = NodeTraversal::next(splitTo, startBlock.get()); |
+ splitTo = NodeTraversal::next(*splitTo, startBlock.get()); |
ASSERT(splitTo); |
splitTreeToNode(splitTo, startBlock.get()); |