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

Unified Diff: third_party/WebKit/Source/core/editing/commands/SimplifyMarkupCommand.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/SimplifyMarkupCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/SimplifyMarkupCommand.h b/third_party/WebKit/Source/core/editing/commands/SimplifyMarkupCommand.h
index 0283dccc7555dc62d55b15f93599039f8b33a5ff..dbeb6d4027f9281b84610f3b9e182f37725859e2 100644
--- a/third_party/WebKit/Source/core/editing/commands/SimplifyMarkupCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/SimplifyMarkupCommand.h
@@ -33,15 +33,20 @@ namespace blink {
class SimplifyMarkupCommand final : public CompositeEditCommand {
public:
static SimplifyMarkupCommand* create(Document& document,
+ CommandSource source,
Node* firstNode,
Node* nodeAfterLast) {
- return new SimplifyMarkupCommand(document, firstNode, nodeAfterLast);
+ return new SimplifyMarkupCommand(document, source, firstNode,
+ nodeAfterLast);
}
DECLARE_VIRTUAL_TRACE();
private:
- SimplifyMarkupCommand(Document&, Node* firstNode, Node* nodeAfterLast);
+ SimplifyMarkupCommand(Document&,
+ CommandSource,
+ Node* firstNode,
+ Node* nodeAfterLast);
void doApply(EditingState*) override;
int pruneSubsequentAncestorsToRemove(

Powered by Google App Engine
This is Rietveld 408576698