| Index: Source/core/editing/commands/TypingCommand.cpp
|
| diff --git a/Source/core/editing/commands/TypingCommand.cpp b/Source/core/editing/commands/TypingCommand.cpp
|
| index f9b70e6c809f016e17fa59c793496772bbeecb14..43e7548afc450f2f8b4bf6bcf6b274291b4d5bef 100644
|
| --- a/Source/core/editing/commands/TypingCommand.cpp
|
| +++ b/Source/core/editing/commands/TypingCommand.cpp
|
| @@ -475,7 +475,7 @@ void TypingCommand::deleteKeyPressed(TextGranularity granularity, bool killRing)
|
| if (granularity == CharacterGranularity && selectionToDelete.end().computeContainerNode() == selectionToDelete.start().computeContainerNode()
|
| && selectionToDelete.end().computeOffsetInContainerNode() - selectionToDelete.start().computeOffsetInContainerNode() > 1) {
|
| // If there are multiple Unicode code points to be deleted, adjust the range to match platform conventions.
|
| - selectionToDelete.setWithoutValidation(selectionToDelete.end(), selectionToDelete.end().previous(BackwardDeletion));
|
| + selectionToDelete.setWithoutValidation(selectionToDelete.end(), previousPositionOf(selectionToDelete.end(), PositionMoveType::BackwardDeletion));
|
| }
|
|
|
| if (!startingSelection().isRange() || selectionToDelete.base() != startingSelection().start()) {
|
|
|