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

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

Powered by Google App Engine
This is Rietveld 408576698