| Index: Source/core/editing/DeleteSelectionCommand.cpp
|
| diff --git a/Source/core/editing/DeleteSelectionCommand.cpp b/Source/core/editing/DeleteSelectionCommand.cpp
|
| index 2a28561dcf0e9b2169050baa758bfbb25febe6d2..c7061d3b6696685f2c9a26f35bcc75fc21822657 100644
|
| --- a/Source/core/editing/DeleteSelectionCommand.cpp
|
| +++ b/Source/core/editing/DeleteSelectionCommand.cpp
|
| @@ -287,7 +287,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
|
|
|