Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index 733298fd28a216b3496cf0b0ba58fabbf04d3dc4..b86d5c52476c3a724dba7d62dc8e33352a0bffae 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -4956,7 +4956,7 @@ static Editor::Command command(Document* document, const String& commandName) { |
return Editor::Command(); |
document->updateStyleAndLayoutTree(); |
- return frame->editor().createCommand(commandName, CommandFromDOM); |
+ return frame->editor().createCommandFromDOM(commandName); |
} |
bool Document::execCommand(const String& commandName, |