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 b39fbc6b50efe77cecce316f747bff5731276796..e2345c607a1baddb136af3d77fd52b3c48f92975 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp |
@@ -471,9 +471,9 @@ void InsertParagraphSeparatorCommand::DoApply(EditingState* editing_state) { |
DCHECK(!text_node->GetLayoutObject() || |
text_node->GetLayoutObject()->Style()->CollapseWhiteSpace()) |
<< text_node; |
- ReplaceTextInNodePreservingMarkers( |
- text_node, leading_whitespace.ComputeOffsetInContainerNode(), 1, |
- NonBreakingSpaceString()); |
+ ReplaceTextInNode(text_node, |
+ leading_whitespace.ComputeOffsetInContainerNode(), 1, |
+ NonBreakingSpaceString()); |
GetDocument().UpdateStyleAndLayoutIgnorePendingStylesheets(); |
} |