| 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 59b198f0bfd7a5b6798ebe2b2a426652a47dfe4a..e132bf87ca80c8ba9b57dca7066a50736b401d1d 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp
|
| @@ -55,7 +55,7 @@ void CreateLinkCommand::doApply(EditingState* editingState) {
|
| if (editingState->isAborted())
|
| return;
|
| document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| - setEndingSelection(createVisibleSelectionDeprecated(
|
| + setEndingSelection(createVisibleSelection(
|
| Position::inParentBeforeNode(*anchorElement),
|
| Position::inParentAfterNode(*anchorElement), TextAffinity::Downstream,
|
| endingSelection().isDirectional()));
|
|
|