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 66f6ef94bd8b2d4f2429c3979e0195fc40ec85f2..f1a8000ead0b78edc0c987898019ff9d92dcdc64 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp |
@@ -248,7 +248,7 @@ void IndentOutdentCommand::outdentRegion(const VisiblePosition& startOfSelection |
VisiblePosition endAfterSelection = endOfParagraphDeprecated(nextPositionOf(endOfLastParagraph)); |
while (endOfCurrentParagraph.deepEquivalent() != endAfterSelection.deepEquivalent()) { |
- VisiblePosition endOfNextParagraph = endOfParagraphDeprecated(nextPositionOf(endOfCurrentParagraph)); |
+ VisiblePosition endOfNextParagraph = endOfParagraphDeprecated(nextPositionOfDeprecated(endOfCurrentParagraph)); |
if (endOfCurrentParagraph.deepEquivalent() == endOfLastParagraph.deepEquivalent()) |
setEndingSelection(VisibleSelection(originalSelectionEnd, TextAffinity::Downstream)); |
else |