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

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

Powered by Google App Engine
This is Rietveld 408576698