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 39615d15d3bac4c46217529dc1f7faf8130ace83..50ac9a5de29e44dd067467244773fc2c2db3ee31 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/UndoStack.h |
+++ b/third_party/WebKit/Source/core/editing/commands/UndoStack.h |
@@ -40,6 +40,8 @@ namespace blink { |
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|. |
class UndoStack final : public GarbageCollected<UndoStack> { |
WTF_MAKE_NONCOPYABLE(UndoStack); |
public: |
@@ -47,7 +49,6 @@ public: |
void registerUndoStep(UndoStep*); |
void registerRedoStep(UndoStep*); |
- void didUnloadFrame(const LocalFrame&); |
bool canUndo() const; |
bool canRedo() const; |
void undo(); |
@@ -60,8 +61,6 @@ private: |
typedef HeapDeque<Member<UndoStep>> UndoStepStack; |
- void filterOutUndoSteps(UndoStepStack&, const LocalFrame&); |
- |
bool m_inRedo; |
UndoStepStack m_undoStack; |
UndoStepStack m_redoStack; |