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

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

Issue 2574793002: [Editing] Store |CommandSource| in |CompositeEditCommand| (Closed)
Patch Set: Created 4 years 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/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..9b645da6297be9f026ca6ac133adb59ecc739fbe 100644
--- a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommandTest.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommandTest.cpp
@@ -47,8 +47,8 @@ TEST_F(DeleteSelectionCommandTest, deleteListFromTable) {
const bool kNoExpandForSpecialElements = false;
const bool kSanitizeMarkup = true;
DeleteSelectionCommand* command = DeleteSelectionCommand::create(
- document(), kNoSmartDelete, kMergeBlocksAfterDelete,
- kNoExpandForSpecialElements, kSanitizeMarkup,
+ document(), CommandSource::MenuOrKeyBinding, kNoSmartDelete,
+ kMergeBlocksAfterDelete, kNoExpandForSpecialElements, kSanitizeMarkup,
InputEvent::InputType::DeleteByCut);
EXPECT_TRUE(command->apply()) << "the delete command should have succeeded";

Powered by Google App Engine
This is Rietveld 408576698