diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/editing/commands/insert_paragraph_separator_command.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/editing/commands/insert_paragraph_separator_command.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/third_party/blink/renderer/core/editing/commands/insert_paragraph_separator_command.h b/chromium/third_party/blink/renderer/core/editing/commands/insert_paragraph_separator_command.h index 0386f608ad2..761b40947d0 100644 --- a/chromium/third_party/blink/renderer/core/editing/commands/insert_paragraph_separator_command.h +++ b/chromium/third_party/blink/renderer/core/editing/commands/insert_paragraph_separator_command.h @@ -39,18 +39,18 @@ class CORE_EXPORT InsertParagraphSeparatorCommand final Document& document, bool use_default_paragraph_element = false, bool paste_blockquote_into_unquoted_area = false) { - return new InsertParagraphSeparatorCommand( + return MakeGarbageCollected<InsertParagraphSeparatorCommand>( document, use_default_paragraph_element, paste_blockquote_into_unquoted_area); } - void Trace(blink::Visitor*) override; - - private: InsertParagraphSeparatorCommand(Document&, bool use_default_paragraph_element, bool paste_blockquote_into_unquoted_area); + void Trace(blink::Visitor*) override; + + private: void DoApply(EditingState*) override; void CalculateStyleBeforeInsertion(const Position&); |