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

Unified Diff: third_party/WebKit/Source/core/editing/commands/InsertListCommand.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/InsertListCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
index 8fc2bade0deba66a61dd33b00993fe7cd0b7777b..0492f5753d26c8d502e6e85a09cb9ca10e7b4444 100644
--- a/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
@@ -119,8 +119,10 @@ bool InsertListCommand::selectionHasListOfType(
return true;
}
-InsertListCommand::InsertListCommand(Document& document, Type type)
- : CompositeEditCommand(document), m_type(type) {}
+InsertListCommand::InsertListCommand(Document& document,
+ CommandSource source,
+ Type type)
+ : CompositeEditCommand(document, source), m_type(type) {}
static bool inSameTreeAndOrdered(const Position& shouldBeFormer,
const Position& shouldBeLater) {

Powered by Google App Engine
This is Rietveld 408576698