| Index: Source/core/editing/TypingCommand.cpp
|
| diff --git a/Source/core/editing/TypingCommand.cpp b/Source/core/editing/TypingCommand.cpp
|
| index fac993be1db6967828866152547f7c09735d6d8f..ddf8fdaef1a1c780af847365a00c4d50e8f71eb4 100644
|
| --- a/Source/core/editing/TypingCommand.cpp
|
| +++ b/Source/core/editing/TypingCommand.cpp
|
| @@ -479,7 +479,7 @@ void TypingCommand::deleteKeyPressed(TextGranularity granularity, bool killRing)
|
| if (selectionToDelete.isNone())
|
| return;
|
|
|
| - if (selectionToDelete.isCaret() || !frame->selection().shouldDeleteSelection(selectionToDelete))
|
| + if (selectionToDelete.isCaret())
|
| return;
|
|
|
| if (killRing)
|
| @@ -572,7 +572,7 @@ void TypingCommand::forwardDeleteKeyPressed(TextGranularity granularity, bool ki
|
| if (selectionToDelete.isNone())
|
| return;
|
|
|
| - if (selectionToDelete.isCaret() || !frame->selection().shouldDeleteSelection(selectionToDelete))
|
| + if (selectionToDelete.isCaret())
|
| return;
|
|
|
| if (killRing)
|
|
|