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