| Index: third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp
|
| index d30fc4ae35b18151cfb990e35a450c778ca90609..eb76b9898a3349727c647a127620d83f97bcce2d 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp
|
| @@ -59,8 +59,8 @@ void ApplyBlockElementCommand::doApply(EditingState* editingState)
|
| if (!endingSelection().rootEditableElement())
|
| return;
|
|
|
| - VisiblePosition visibleEnd = endingSelection().visibleEnd();
|
| - VisiblePosition visibleStart = endingSelection().visibleStart();
|
| + VisiblePosition visibleEnd = endingSelection().visibleEndDeprecated();
|
| + VisiblePosition visibleStart = endingSelection().visibleStartDeprecated();
|
| if (visibleStart.isNull() || visibleStart.isOrphan() || visibleEnd.isNull() || visibleEnd.isOrphan())
|
| return;
|
|
|
| @@ -80,8 +80,8 @@ void ApplyBlockElementCommand::doApply(EditingState* editingState)
|
| }
|
|
|
| VisibleSelection selection = selectionForParagraphIteration(endingSelection());
|
| - VisiblePosition startOfSelection = selection.visibleStart();
|
| - VisiblePosition endOfSelection = selection.visibleEnd();
|
| + VisiblePosition startOfSelection = selection.visibleStartDeprecated();
|
| + VisiblePosition endOfSelection = selection.visibleEndDeprecated();
|
| DCHECK(!startOfSelection.isNull());
|
| DCHECK(!endOfSelection.isNull());
|
| ContainerNode* startScope = nullptr;
|
|
|