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

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

Issue 2636043002: Revert of [EditCommandSource] Pass source to |CompositEditCommand| and |TypingCommand| (3/3) (Closed)
Patch Set: Remove command source in ApplyStyleCommandTest.cpp 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/ApplyBlockElementCommandTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommandTest.cpp b/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommandTest.cpp
index 40129f6658de641ac32e9b1738611b20bdbae009..cd06bf1b9df21a2f69961c1c17857b7a5021ba1e 100644
--- a/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommandTest.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommandTest.cpp
@@ -46,7 +46,7 @@ TEST_F(ApplyBlockElementCommandTest, selectionCrossingOverBody) {
FormatBlockCommand* command =
FormatBlockCommand::create(document(), HTMLNames::footerTag);
- command->apply(EditCommandSource::kMenuOrKeyBinding);
+ command->apply();
EXPECT_EQ(
"<body contenteditable=\"false\">\n"
@@ -70,7 +70,7 @@ TEST_F(ApplyBlockElementCommandTest, visibilityChangeDuringCommand) {
IndentOutdentCommand* command =
IndentOutdentCommand::create(document(), IndentOutdentCommand::Indent);
- command->apply(EditCommandSource::kMenuOrKeyBinding);
+ command->apply();
EXPECT_EQ(
"<head><style>li:first-child { visibility:visible; }</style></head>"

Powered by Google App Engine
This is Rietveld 408576698