Index: Source/core/editing/FormatBlockCommand.cpp |
diff --git a/Source/core/editing/FormatBlockCommand.cpp b/Source/core/editing/FormatBlockCommand.cpp |
index 8c6830907e2ad908256f6c28f453a7b74ed76699..ac397a9ebf0ad8855764e157a02f368a0dbdc281 100644 |
--- a/Source/core/editing/FormatBlockCommand.cpp |
+++ b/Source/core/editing/FormatBlockCommand.cpp |
@@ -88,7 +88,7 @@ |
insertNodeBefore(blockNode, nodeAfterInsertionPosition); |
} |
- Position lastParagraphInBlockNode = blockNode->lastChild() ? positionAfterNode(*blockNode->lastChild()) : Position(); |
+ Position lastParagraphInBlockNode = blockNode->lastChild() ? positionAfterNode(blockNode->lastChild()) : Position(); |
bool wasEndOfParagraph = isEndOfParagraph(VisiblePosition(lastParagraphInBlockNode)); |
moveParagraphWithClones(VisiblePosition(start), VisiblePosition(end), blockNode.get(), outerBlock.get()); |