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

Unified Diff: third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.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/InsertLineBreakCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
index 22cf0e318ba1d3d1b6a6f69907748f6ad0198dff..234b2077c389d055c8d5c2458ef643d5ca0660c0 100644
--- a/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
@@ -44,8 +44,9 @@ namespace blink {
using namespace HTMLNames;
-InsertLineBreakCommand::InsertLineBreakCommand(Document& document)
- : CompositeEditCommand(document) {}
+InsertLineBreakCommand::InsertLineBreakCommand(Document& document,
+ CommandSource source)
+ : CompositeEditCommand(document, source) {}
bool InsertLineBreakCommand::preservesTypingStyle() const {
return true;

Powered by Google App Engine
This is Rietveld 408576698