Index: third_party/WebKit/Source/core/editing/commands/InsertListCommandTest.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertListCommandTest.cpp b/third_party/WebKit/Source/core/editing/commands/InsertListCommandTest.cpp |
index c7792716460e99c1df5e1960c61fa3bcb5800c86..bea2af380f1e7e4581027b3db3d25934c613dbca 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/InsertListCommandTest.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/InsertListCommandTest.cpp |
@@ -42,7 +42,7 @@ TEST_F(InsertListCommandTest, ShouldCleanlyRemoveSpuriousTextNode) { |
InsertListCommand* command = |
InsertListCommand::create(document(), InsertListCommand::OrderedList); |
// This should not DCHECK. |
- EXPECT_TRUE(command->apply()) |
+ EXPECT_TRUE(command->apply(EditCommandSource::kMenuOrKeyBinding)) |
<< "The insert ordered list command should have succeeded"; |
EXPECT_EQ("<ol><li>d</li></ol>", document().body()->innerHTML()); |
} |