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

Unified Diff: third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.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/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;

Powered by Google App Engine
This is Rietveld 408576698