Index: third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp |
index d8185db1c51537cfe28581138857e88f00b6854c..5a0115d6b6a377a0cc7d57602f27aa61f2632499 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp |
@@ -464,9 +464,9 @@ void InsertParagraphSeparatorCommand::doApply(EditingState* editingState) { |
DCHECK(!textNode->layoutObject() || |
textNode->layoutObject()->style()->collapseWhiteSpace()) |
<< textNode; |
- replaceTextInNodePreservingMarkers( |
- textNode, leadingWhitespace.computeOffsetInContainerNode(), 1, |
- nonBreakingSpaceString()); |
+ replaceTextInNode(textNode, |
+ leadingWhitespace.computeOffsetInContainerNode(), 1, |
+ nonBreakingSpaceString()); |
document().updateStyleAndLayoutIgnorePendingStylesheets(); |
} |