Index: third_party/WebKit/Source/core/editing/commands/DocumentExecCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/DocumentExecCommand.cpp b/third_party/WebKit/Source/core/editing/commands/DocumentExecCommand.cpp |
index ad57d2c55a99c510177ca4dddef64cc8392693aa..d6b60ba58d5e48d6a1f1a5649928875810e80d94 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/DocumentExecCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/DocumentExecCommand.cpp |
@@ -47,7 +47,7 @@ Editor::Command command(Document* document, const String& commandName) { |
return Editor::Command(); |
document->updateStyleAndLayoutTree(); |
- return frame->editor().createCommandFromDOM(commandName); |
+ return frame->editor().createCommand(commandName, CommandFromDOM); |
} |
} // namespace |