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

Unified Diff: third_party/WebKit/Source/core/editing/commands/RemoveNodePreservingChildrenCommand.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/RemoveNodePreservingChildrenCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/RemoveNodePreservingChildrenCommand.h b/third_party/WebKit/Source/core/editing/commands/RemoveNodePreservingChildrenCommand.h
index 5a9407d362fa3445d2589bfabcb4b5b95a6b808c..9199fd4d2fcf6c44f4604c0454cedc0f98439fa3 100644
--- a/third_party/WebKit/Source/core/editing/commands/RemoveNodePreservingChildrenCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/RemoveNodePreservingChildrenCommand.h
@@ -33,16 +33,18 @@ namespace blink {
class RemoveNodePreservingChildrenCommand final : public CompositeEditCommand {
public:
static RemoveNodePreservingChildrenCommand* create(
+ CommandSource source,
Node* node,
ShouldAssumeContentIsAlwaysEditable shouldAssumeContentIsAlwaysEditable) {
return new RemoveNodePreservingChildrenCommand(
- node, shouldAssumeContentIsAlwaysEditable);
+ source, node, shouldAssumeContentIsAlwaysEditable);
}
DECLARE_VIRTUAL_TRACE();
private:
- RemoveNodePreservingChildrenCommand(Node*,
+ RemoveNodePreservingChildrenCommand(CommandSource,
+ Node*,
ShouldAssumeContentIsAlwaysEditable);
void doApply(EditingState*) override;

Powered by Google App Engine
This is Rietveld 408576698