| Index: third_party/WebKit/Source/core/editing/commands/EditCommand.h
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/EditCommand.h b/third_party/WebKit/Source/core/editing/commands/EditCommand.h
|
| index 3e2bddbc90453e0fc9f9e73114f161b47a8995cd..18a3b1197b607dddd9bc8636726236a9c55d5692 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/EditCommand.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/EditCommand.h
|
| @@ -34,6 +34,7 @@ namespace blink {
|
|
|
| class CompositeEditCommand;
|
| class Document;
|
| +class EditingState;
|
|
|
| class EditCommand : public RefCountedWillBeGarbageCollectedFinalized<EditCommand> {
|
| public:
|
| @@ -50,7 +51,8 @@ public:
|
| virtual bool isCompositeEditCommand() const { return false; }
|
| bool isTopLevelCommand() const { return !m_parent; }
|
|
|
| - virtual void doApply() = 0;
|
| + // The |EditingState*| argument must not be nullptr.
|
| + virtual void doApply(EditingState*) = 0;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
|
|