| Index: third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.h
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.h b/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.h
|
| index 8c89be97a29061150f423a7a3d750198b093c8e6..422acc47a07055d6f157a0b5f34f56793faa8af9 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.h
|
| @@ -32,12 +32,14 @@ namespace blink {
|
|
|
| class CreateLinkCommand final : public CompositeEditCommand {
|
| public:
|
| - static CreateLinkCommand* create(Document& document, const String& linkURL) {
|
| - return new CreateLinkCommand(document, linkURL);
|
| + static CreateLinkCommand* create(Document& document,
|
| + CommandSource source,
|
| + const String& linkURL) {
|
| + return new CreateLinkCommand(document, source, linkURL);
|
| }
|
|
|
| private:
|
| - CreateLinkCommand(Document&, const String& linkURL);
|
| + CreateLinkCommand(Document&, CommandSource, const String& linkURL);
|
|
|
| void doApply(EditingState*) override;
|
|
|
|
|