| 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 3c930c60b3453481849c3f2aaa875734b7a2dcda..25b4300021bdb6105d1ff0b29690ca8a4c1b177d 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/BreakBlockquoteCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/BreakBlockquoteCommand.cpp
|
| @@ -137,7 +137,7 @@ void BreakBlockquoteCommand::doApply(EditingState* editingState)
|
| }
|
|
|
| // Adjust the position so we don't split at the beginning of a quote.
|
| - while (isFirstVisiblePositionInNode(createVisiblePosition(pos), toHTMLQuoteElement(enclosingNodeOfType(pos, isMailHTMLBlockquoteElement)))) {
|
| + while (isFirstVisiblePositionInNode(createVisiblePositionDeprecated(pos), toHTMLQuoteElement(enclosingNodeOfType(pos, isMailHTMLBlockquoteElement)))) {
|
| pos = previousPositionOf(pos, PositionMoveType::GraphemeCluster);
|
| }
|
|
|
| @@ -163,7 +163,7 @@ void BreakBlockquoteCommand::doApply(EditingState* editingState)
|
|
|
| // If there's nothing inside topBlockquote to move, we're finished.
|
| if (!startNode->isDescendantOf(topBlockquote)) {
|
| - setEndingSelection(VisibleSelection(createVisiblePosition(firstPositionInOrBeforeNode(startNode)), endingSelection().isDirectional()));
|
| + setEndingSelection(VisibleSelection(createVisiblePositionDeprecated(firstPositionInOrBeforeNode(startNode)), endingSelection().isDirectional()));
|
| return;
|
| }
|
|
|
|
|