| Index: third_party/WebKit/Source/core/editing/commands/UndoStack.h
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/UndoStack.h b/third_party/WebKit/Source/core/editing/commands/UndoStack.h
|
| index 77802635ad31b1375eae6904fafc93e26a1d4b4e..8f7e3c837d17fa4cdb9c5a298650be0ea64925d0 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/UndoStack.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/UndoStack.h
|
| @@ -37,8 +37,8 @@
|
|
|
| namespace blink {
|
|
|
| -class EditCommandComposition;
|
| class LocalFrame;
|
| +class UndoStep;
|
|
|
| // |UndoStack| is owned by and always 1:1 to |Editor|. Since |Editor| is 1:1 to
|
| // |LocalFrame|, |UndoStack| is also 1:1 to |LocalFrame|.
|
| @@ -48,8 +48,8 @@ class UndoStack final : public GarbageCollected<UndoStack> {
|
| public:
|
| static UndoStack* create();
|
|
|
| - void registerUndoStep(EditCommandComposition*);
|
| - void registerRedoStep(EditCommandComposition*);
|
| + void registerUndoStep(UndoStep*);
|
| + void registerRedoStep(UndoStep*);
|
| bool canUndo() const;
|
| bool canRedo() const;
|
| void undo();
|
| @@ -61,7 +61,7 @@ class UndoStack final : public GarbageCollected<UndoStack> {
|
| private:
|
| UndoStack();
|
|
|
| - typedef HeapDeque<Member<EditCommandComposition>> UndoStepStack;
|
| + typedef HeapDeque<Member<UndoStep>> UndoStepStack;
|
|
|
| bool m_inRedo;
|
| UndoStepStack m_undoStack;
|
|
|