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

Unified Diff: third_party/WebKit/Source/core/editing/commands/UnlinkCommand.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/UnlinkCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/UnlinkCommand.h b/third_party/WebKit/Source/core/editing/commands/UnlinkCommand.h
index 91f6e42c135a8e2ec00b3f1cbe8600e2343fa61a..a352846c2232501cd3487599e91b0d31989da6f2 100644
--- a/third_party/WebKit/Source/core/editing/commands/UnlinkCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/UnlinkCommand.h
@@ -32,12 +32,12 @@ namespace blink {
class UnlinkCommand final : public CompositeEditCommand {
public:
- static UnlinkCommand* create(Document& document) {
- return new UnlinkCommand(document);
+ static UnlinkCommand* create(Document& document, CommandSource source) {
+ return new UnlinkCommand(document, source);
}
private:
- explicit UnlinkCommand(Document&);
+ UnlinkCommand(Document&, CommandSource);
void doApply(EditingState*) override;
};

Powered by Google App Engine
This is Rietveld 408576698