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

Unified Diff: third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.h

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/InsertLineBreakCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.h b/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.h
index 6339943a4b4203537c235d90e825a8f6c8f2458b..607ae6211fcbe7b719cdd14df3f1b2dbcaa22791 100644
--- a/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.h
@@ -32,12 +32,13 @@ namespace blink {
class InsertLineBreakCommand final : public CompositeEditCommand {
public:
- static InsertLineBreakCommand* create(Document& document) {
- return new InsertLineBreakCommand(document);
+ static InsertLineBreakCommand* create(Document& document,
+ CommandSource source) {
+ return new InsertLineBreakCommand(document, source);
}
private:
- explicit InsertLineBreakCommand(Document&);
+ InsertLineBreakCommand(Document&, CommandSource);
void doApply(EditingState*) override;

Powered by Google App Engine
This is Rietveld 408576698