| Index: sky/engine/core/editing/TypingCommand.cpp
|
| diff --git a/sky/engine/core/editing/TypingCommand.cpp b/sky/engine/core/editing/TypingCommand.cpp
|
| index f528c6eb9ad6a0833e6fa5ad996da2e3d6c4fd95..3326740079010620457c3748e82ef413fae9c675 100644
|
| --- a/sky/engine/core/editing/TypingCommand.cpp
|
| +++ b/sky/engine/core/editing/TypingCommand.cpp
|
| @@ -399,11 +399,6 @@ void TypingCommand::deleteKeyPressed(TextGranularity granularity)
|
| selectionAfterUndo = selectionToDelete;
|
| break;
|
| case CaretSelection: {
|
| - // After breaking out of an empty mail blockquote, we still want continue with the deletion
|
| - // so actual content will get deleted, and not just the quote style.
|
| - if (breakOutOfEmptyMailBlockquotedParagraph())
|
| - typingAddedToOpenCommand(DeleteKey);
|
| -
|
| m_smartDelete = false;
|
|
|
| OwnPtr<FrameSelection> selection = FrameSelection::create();
|
| @@ -412,11 +407,6 @@ void TypingCommand::deleteKeyPressed(TextGranularity granularity)
|
|
|
| VisiblePosition visibleStart(endingSelection().visibleStart());
|
| if (visibleStart.previous(CannotCrossEditingBoundary).isNull()) {
|
| - // When the caret is at the start of the editable area in an empty list item, break out of the list item.
|
| - if (breakOutOfEmptyListItem()) {
|
| - typingAddedToOpenCommand(DeleteKey);
|
| - return;
|
| - }
|
| // When there are no visible positions in the editing root, delete its entire contents.
|
| if (visibleStart.next(CannotCrossEditingBoundary).isNull() && makeEditableRootEmpty()) {
|
| typingAddedToOpenCommand(DeleteKey);
|
|
|