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

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

Issue 2579253002: [EditCommandSource] Pass source to |CompositEditCommand| and |TypingCommand| (3/3) (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
« no previous file with comments | « third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/commands/TypingCommandTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/TypingCommandTest.cpp b/third_party/WebKit/Source/core/editing/commands/TypingCommandTest.cpp
index f34fa3528d071f07a6e008ebe9ceade3205111bd..11674a6d28b6d28c3b0dd1c31c6aacce74749cf9 100644
--- a/third_party/WebKit/Source/core/editing/commands/TypingCommandTest.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/TypingCommandTest.cpp
@@ -50,7 +50,8 @@ TEST_F(TypingCommandTest, insertLineBreakWithIllFormedHTML) {
.build());
// Inserting line break should not crash or hit assertion.
- TypingCommand::insertLineBreak(document());
+ TypingCommand::insertLineBreak(document(),
+ EditCommandSource::kMenuOrKeyBinding);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698