| Index: third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.h
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.h b/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.h
|
| index b069081eb0ce09087255274aabf5d41723270241..c6bd496c66e309cd92f4f3a67d3b0a69bc6382c9 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.h
|
| @@ -40,8 +40,9 @@ class Range;
|
| class CORE_EXPORT FormatBlockCommand final : public ApplyBlockElementCommand {
|
| public:
|
| static FormatBlockCommand* create(Document& document,
|
| + EditCommandSource source,
|
| const QualifiedName& tagName) {
|
| - return new FormatBlockCommand(document, tagName);
|
| + return new FormatBlockCommand(document, source, tagName);
|
| }
|
|
|
| bool preservesTypingStyle() const override { return true; }
|
| @@ -50,7 +51,9 @@ class CORE_EXPORT FormatBlockCommand final : public ApplyBlockElementCommand {
|
| bool didApply() const { return m_didApply; }
|
|
|
| private:
|
| - FormatBlockCommand(Document&, const QualifiedName& tagName);
|
| + FormatBlockCommand(Document&,
|
| + EditCommandSource,
|
| + const QualifiedName& tagName);
|
|
|
| void formatSelection(const VisiblePosition& startOfSelection,
|
| const VisiblePosition& endOfSelection,
|
|
|