Index: third_party/WebKit/WebCore/editing/EditCommand.cpp |
=================================================================== |
--- third_party/WebKit/WebCore/editing/EditCommand.cpp (revision 11154) |
+++ third_party/WebKit/WebCore/editing/EditCommand.cpp (working copy) |
@@ -94,7 +94,10 @@ |
if (!m_parent) { |
updateLayout(); |
- frame->editor()->appliedEditing(this); |
+ // Only need to call appliedEditing for top-level commands, and TypingCommands do it on their |
+ // own (see TypingCommand::typingAddedToOpenCommand). |
+ if (!isTypingCommand()) |
+ frame->editor()->appliedEditing(this); |
} |
} |