| Index: Source/core/editing/DeleteSelectionCommand.cpp
|
| diff --git a/Source/core/editing/DeleteSelectionCommand.cpp b/Source/core/editing/DeleteSelectionCommand.cpp
|
| index 9d16b5e10d254b33cb8806c780e17496d9c01547..c52ca9b96e5c8a8d28e2e46ae6193c14f66367ea 100644
|
| --- a/Source/core/editing/DeleteSelectionCommand.cpp
|
| +++ b/Source/core/editing/DeleteSelectionCommand.cpp
|
| @@ -284,7 +284,7 @@ void DeleteSelectionCommand::saveTypingStyleState()
|
|
|
| // Figure out the typing style in effect before the delete is done.
|
| m_typingStyle = EditingStyle::create(m_selectionToDelete.start(), EditingStyle::EditingPropertiesInEffect);
|
| - m_typingStyle->removeStyleAddedByNode(enclosingAnchorElement(m_selectionToDelete.start()));
|
| + m_typingStyle->removeStyleAddedByElement(enclosingAnchorElement(m_selectionToDelete.start()));
|
|
|
| // If we're deleting into a Mail blockquote, save the style at end() instead of start()
|
| // We'll use this later in computeTypingStyleAfterDelete if we end up outside of a Mail blockquote
|
|
|