Index: Source/core/editing/DeleteSelectionCommand.cpp |
diff --git a/Source/core/editing/DeleteSelectionCommand.cpp b/Source/core/editing/DeleteSelectionCommand.cpp |
index adf8e0674dcf46ac9f7826a26768df949bf4fc2a..3536ec6b81367780b85eb9f4fc37e033e56e55e7 100644 |
--- a/Source/core/editing/DeleteSelectionCommand.cpp |
+++ b/Source/core/editing/DeleteSelectionCommand.cpp |
@@ -292,7 +292,7 @@ void DeleteSelectionCommand::saveTypingStyleState() |
return; |
// Figure out the typing style in effect before the delete is done. |
- m_typingStyle = EditingStyle::create(m_selectionToDelete.start()); |
+ m_typingStyle = EditingStyle::create(m_selectionToDelete.start(), EditingStyle::EditingPropertiesInEffect); |
m_typingStyle->removeStyleAddedByNode(enclosingAnchorElement(m_selectionToDelete.start())); |
// If we're deleting into a Mail blockquote, save the style at end() instead of start() |