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

Unified Diff: third_party/WebKit/Source/core/editing/commands/InsertTextCommand.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/InsertTextCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.cpp
index e806ae436f4523006b13d27ec377c42715ea427a..f082b9b830412cb03895469cee64d63d49275cf3 100644
--- a/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.cpp
@@ -37,10 +37,11 @@
namespace blink {
InsertTextCommand::InsertTextCommand(Document& document,
+ CommandSource source,
const String& text,
bool selectInsertedText,
RebalanceType rebalanceType)
- : CompositeEditCommand(document),
+ : CompositeEditCommand(document, source),
m_text(text),
m_selectInsertedText(selectInsertedText),
m_rebalanceType(rebalanceType) {}

Powered by Google App Engine
This is Rietveld 408576698