| 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 6f2b2ff5e46f5c7f59b5e6583e393026318ba4b4..8567ead1b79ffbc5f3111998ecb51cbee80b8623 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
|
| @@ -181,7 +181,7 @@ void IndentOutdentCommand::outdentParagraph(EditingState* editingState)
|
| // If the blockquote is inline, the start of the enclosing block coincides with
|
| // positionInEnclosingBlock.
|
| VisiblePosition startOfEnclosingBlock = (enclosingElement->layoutObject() && enclosingElement->layoutObject()->isInline()) ? positionInEnclosingBlock : startOfBlock(positionInEnclosingBlock);
|
| - VisiblePosition lastPositionInEnclosingBlock = createVisiblePosition(lastPositionInNode(enclosingElement));
|
| + VisiblePosition lastPositionInEnclosingBlock = createVisiblePosition(Position::lastPositionInNode(enclosingElement));
|
| VisiblePosition endOfEnclosingBlock = endOfBlock(lastPositionInEnclosingBlock);
|
| if (visibleStartOfParagraph.deepEquivalent() == startOfEnclosingBlock.deepEquivalent()
|
| && visibleEndOfParagraph.deepEquivalent() == endOfEnclosingBlock.deepEquivalent()) {
|
|
|