| Index: third_party/WebKit/Source/core/editing/commands/InsertListCommand.h
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/InsertListCommand.h b/third_party/WebKit/Source/core/editing/commands/InsertListCommand.h
|
| index 14778538ad51741f9de61b95f6e0e71ca361045d..4c30732c1a0ee973824cb90a69163f25be87d9cc 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertListCommand.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertListCommand.h
|
| @@ -37,8 +37,10 @@ class CORE_EXPORT InsertListCommand final : public CompositeEditCommand {
|
| public:
|
| enum Type { OrderedList, UnorderedList };
|
|
|
| - static InsertListCommand* create(Document& document, Type listType) {
|
| - return new InsertListCommand(document, listType);
|
| + static InsertListCommand* create(Document& document,
|
| + CommandSource source,
|
| + Type listType) {
|
| + return new InsertListCommand(document, source, listType);
|
| }
|
|
|
| bool preservesTypingStyle() const override { return true; }
|
| @@ -46,7 +48,7 @@ class CORE_EXPORT InsertListCommand final : public CompositeEditCommand {
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| - InsertListCommand(Document&, Type);
|
| + InsertListCommand(Document&, CommandSource, Type);
|
|
|
| void doApply(EditingState*) override;
|
| InputEvent::InputType inputType() const override;
|
|
|