| Index: third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommandTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommandTest.cpp b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommandTest.cpp
|
| index d9851afd5e31be552240941e7fb6874d6d07c9a2..b31792328b4994e5b4c4257efed91bdb6b4aaad8 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommandTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommandTest.cpp
|
| @@ -51,7 +51,8 @@ TEST_F(DeleteSelectionCommandTest, deleteListFromTable) {
|
| kNoExpandForSpecialElements, kSanitizeMarkup,
|
| InputEvent::InputType::DeleteByCut);
|
|
|
| - EXPECT_TRUE(command->apply()) << "the delete command should have succeeded";
|
| + EXPECT_TRUE(command->apply(EditCommandSource::kMenuOrKeyBinding))
|
| + << "the delete command should have succeeded";
|
| EXPECT_EQ("<div contenteditable=\"true\"><br></div>",
|
| document().body()->innerHTML());
|
| EXPECT_TRUE(frame->selection().isCaret());
|
|
|