| Index: third_party/WebKit/Source/core/editing/commands/BreakBlockquoteCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/BreakBlockquoteCommand.cpp b/third_party/WebKit/Source/core/editing/commands/BreakBlockquoteCommand.cpp
|
| index cdd4fbd5d2f8c907a9a35ceac6e6170d25c3cd6f..3c930c60b3453481849c3f2aaa875734b7a2dcda 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/BreakBlockquoteCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/BreakBlockquoteCommand.cpp
|
| @@ -113,7 +113,7 @@ void BreakBlockquoteCommand::doApply(EditingState* editingState)
|
| insertNodeBefore(breakElement, topBlockquote, editingState);
|
| if (editingState->isAborted())
|
| return;
|
| - setEndingSelection(VisibleSelection(positionBeforeNode(breakElement), TextAffinity::Downstream, endingSelection().isDirectional()));
|
| + setEndingSelection(VisibleSelection(Position::beforeNode(breakElement), TextAffinity::Downstream, endingSelection().isDirectional()));
|
| rebalanceWhitespace();
|
| return;
|
| }
|
| @@ -125,7 +125,7 @@ void BreakBlockquoteCommand::doApply(EditingState* editingState)
|
|
|
| // If we're inserting the break at the end of the quoted content, we don't need to break the quote.
|
| if (isLastVisPosInNode) {
|
| - setEndingSelection(VisibleSelection(positionBeforeNode(breakElement), TextAffinity::Downstream, endingSelection().isDirectional()));
|
| + setEndingSelection(VisibleSelection(Position::beforeNode(breakElement), TextAffinity::Downstream, endingSelection().isDirectional()));
|
| rebalanceWhitespace();
|
| return;
|
| }
|
| @@ -236,7 +236,7 @@ void BreakBlockquoteCommand::doApply(EditingState* editingState)
|
| return;
|
|
|
| // Put the selection right before the break.
|
| - setEndingSelection(VisibleSelection(positionBeforeNode(breakElement), TextAffinity::Downstream, endingSelection().isDirectional()));
|
| + setEndingSelection(VisibleSelection(Position::beforeNode(breakElement), TextAffinity::Downstream, endingSelection().isDirectional()));
|
| rebalanceWhitespace();
|
| }
|
|
|
|
|