| Index: third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp
|
| index 074bb7a715aab966d6f61c8fa4bbe1f15bc7aa47..ec0cf2e61627f57be75a0802915bcc392dd29099 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp
|
| @@ -750,9 +750,9 @@ void DeleteSelectionCommand::fixupWhitespace() {
|
| DCHECK(!textNode->layoutObject() ||
|
| textNode->layoutObject()->style()->collapseWhiteSpace())
|
| << textNode;
|
| - replaceTextInNodePreservingMarkers(
|
| - textNode, m_leadingWhitespace.computeOffsetInContainerNode(), 1,
|
| - nonBreakingSpaceString());
|
| + replaceTextInNode(textNode,
|
| + m_leadingWhitespace.computeOffsetInContainerNode(), 1,
|
| + nonBreakingSpaceString());
|
| }
|
| if (m_trailingWhitespace.isNotNull() &&
|
| !isRenderedCharacter(m_trailingWhitespace) &&
|
| @@ -761,9 +761,9 @@ void DeleteSelectionCommand::fixupWhitespace() {
|
| DCHECK(!textNode->layoutObject() ||
|
| textNode->layoutObject()->style()->collapseWhiteSpace())
|
| << textNode;
|
| - replaceTextInNodePreservingMarkers(
|
| - textNode, m_trailingWhitespace.computeOffsetInContainerNode(), 1,
|
| - nonBreakingSpaceString());
|
| + replaceTextInNode(textNode,
|
| + m_trailingWhitespace.computeOffsetInContainerNode(), 1,
|
| + nonBreakingSpaceString());
|
| }
|
| }
|
|
|
|
|