Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1286)

Unified Diff: third_party/WebKit/Source/core/editing/commands/DocumentExecCommand.cpp

Issue 2636963003: Revert of [EditCommandSource] Rename and move |EditorCommandSource| to "CompositeEditCommand.h (1/3) (Closed)
Patch Set: Fix conflicts Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698