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

Unified Diff: third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.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/InsertParagraphSeparatorCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.h b/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.h
index 3fa93335ad272f07785ecf8ac79de04c2dc08fd8..fda46edd901f8c7defe48646ec868218242564e5 100644
--- a/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.h
@@ -36,16 +36,19 @@ class InsertParagraphSeparatorCommand final : public CompositeEditCommand {
public:
static InsertParagraphSeparatorCommand* create(
Document& document,
+ CommandSource source,
bool useDefaultParagraphElement = false,
bool pasteBlockquoteIntoUnquotedArea = false) {
- return new InsertParagraphSeparatorCommand(
- document, useDefaultParagraphElement, pasteBlockquoteIntoUnquotedArea);
+ return new InsertParagraphSeparatorCommand(document, source,
+ useDefaultParagraphElement,
+ pasteBlockquoteIntoUnquotedArea);
}
DECLARE_VIRTUAL_TRACE();
private:
InsertParagraphSeparatorCommand(Document&,
+ CommandSource,
bool useDefaultParagraphElement,
bool pasteBlockquoteIntoUnquotedArea);

Powered by Google App Engine
This is Rietveld 408576698