| Index: Source/core/editing/Editor.cpp
|
| diff --git a/Source/core/editing/Editor.cpp b/Source/core/editing/Editor.cpp
|
| index e2b1faa4d1c1eab468eb37be8e8b268ae69f51ec..f1044e816a0bd4b4274aaabdc61bc328b00aa359 100644
|
| --- a/Source/core/editing/Editor.cpp
|
| +++ b/Source/core/editing/Editor.cpp
|
| @@ -718,6 +718,7 @@ void Editor::unappliedEditing(PassRefPtrWillBeRawPtr<EditCommandComposition> cmd
|
| dispatchEditableContentChangedEvents(cmd->startingRootEditableElement(), cmd->endingRootEditableElement());
|
|
|
| VisibleSelection newSelection(cmd->startingSelection());
|
| + newSelection.validatePositionsIfNeeded();
|
| changeSelectionAfterCommand(newSelection, FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle);
|
|
|
| m_lastEditCommand = nullptr;
|
|
|