| Index: third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
|
| index 553f61567915c277b40f8f4659956c7237c1d0c5..f97494f0745f9ed7e9c539a3a0932c5eadf4db75 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
|
| @@ -350,7 +350,9 @@ void IndentOutdentCommand::outdentRegion(
|
| builder.collapse(originalSelectionEnd);
|
| setEndingSelection(createVisibleSelection(builder.build()));
|
| } else {
|
| - setEndingSelection(endOfCurrentParagraph);
|
| + setEndingSelection(SelectionInDOMTree::Builder()
|
| + .collapse(endOfCurrentParagraph.deepEquivalent())
|
| + .build());
|
| }
|
|
|
| outdentParagraph(editingState);
|
|
|