| Index: third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp b/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp
|
| index 2ab6eef8a88e7602117df79f6a53b01afd737e12..8ae7b3ce5ed3e2813d2cff3566e8ef9bc598e738 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp
|
| @@ -56,7 +56,7 @@ void CreateLinkCommand::doApply(EditingState* editingState)
|
| appendNode(textNode, anchorElement, editingState);
|
| if (editingState->isAborted())
|
| return;
|
| - setEndingSelection(VisibleSelection(Position::inParentBeforeNode(*anchorElement), Position::inParentAfterNode(*anchorElement), TextAffinity::Downstream, endingSelection().isDirectional()));
|
| + setEndingSelection(createVisibleSelectionDeprecated(Position::inParentBeforeNode(*anchorElement), Position::inParentAfterNode(*anchorElement), TextAffinity::Downstream, endingSelection().isDirectional()));
|
| }
|
| }
|
|
|
|
|