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

Unified Diff: third_party/WebKit/Source/core/editing/commands/RemoveNodePreservingChildrenCommand.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/RemoveNodePreservingChildrenCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/RemoveNodePreservingChildrenCommand.cpp b/third_party/WebKit/Source/core/editing/commands/RemoveNodePreservingChildrenCommand.cpp
index d9cf2f1930c491f07c80ba3af72079bb9ee48477..a950edf69b967a6d0a4e51820679d196ea7636d3 100644
--- a/third_party/WebKit/Source/core/editing/commands/RemoveNodePreservingChildrenCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/RemoveNodePreservingChildrenCommand.cpp
@@ -32,9 +32,10 @@
namespace blink {
RemoveNodePreservingChildrenCommand::RemoveNodePreservingChildrenCommand(
+ CommandSource source,
Node* node,
ShouldAssumeContentIsAlwaysEditable shouldAssumeContentIsAlwaysEditable)
- : CompositeEditCommand(node->document()),
+ : CompositeEditCommand(node->document(), source),
m_node(node),
m_shouldAssumeContentIsAlwaysEditable(
shouldAssumeContentIsAlwaysEditable) {

Powered by Google App Engine
This is Rietveld 408576698