| 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 aff0f6a66913e6c53e0456274911f68101a63374..130ec8d62d1d5ac9ae864bd4da1954fd78b23a77 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp
|
| @@ -707,7 +707,7 @@ void DeleteSelectionCommand::mergeParagraphs(EditingState* editingState)
|
| // removals that it does cause the insertion of *another* placeholder.
|
| bool needPlaceholder = m_needPlaceholder;
|
| bool paragraphToMergeIsEmpty = startOfParagraphToMove.deepEquivalent() == endOfParagraphToMove.deepEquivalent();
|
| - moveParagraph(startOfParagraphToMove, endOfParagraphToMove, mergeDestination, editingState, false, !paragraphToMergeIsEmpty);
|
| + moveParagraph(startOfParagraphToMove, endOfParagraphToMove, mergeDestination, editingState, DoNotPreserveSelection, paragraphToMergeIsEmpty ? DoNotPreserveStyle : PreserveStyle);
|
| if (editingState->isAborted())
|
| return;
|
| m_needPlaceholder = needPlaceholder;
|
|
|