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 cd06bf1b9df21a2f69961c1c17857b7a5021ba1e..40129f6658de641ac32e9b1738611b20bdbae009 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(); |
+ command->apply(EditCommandSource::kMenuOrKeyBinding); |
EXPECT_EQ( |
"<body contenteditable=\"false\">\n" |
@@ -70,7 +70,7 @@ TEST_F(ApplyBlockElementCommandTest, visibilityChangeDuringCommand) { |
IndentOutdentCommand* command = |
IndentOutdentCommand::create(document(), IndentOutdentCommand::Indent); |
- command->apply(); |
+ command->apply(EditCommandSource::kMenuOrKeyBinding); |
EXPECT_EQ( |
"<head><style>li:first-child { visibility:visible; }</style></head>" |