Index: Source/core/editing/UndoStep.h |
diff --git a/Source/core/editing/UndoStep.h b/Source/core/editing/UndoStep.h |
index 93804d1b4029360e4e1323b7836e20420770525c..1502e975349142049a297f8d95e9a1ce1d5d5853 100644 |
--- a/Source/core/editing/UndoStep.h |
+++ b/Source/core/editing/UndoStep.h |
@@ -32,15 +32,17 @@ |
#define UndoStep_h |
#include "core/editing/EditAction.h" |
+#include "platform/heap/Handle.h" |
#include "wtf/RefCounted.h" |
namespace WebCore { |
class LocalFrame; |
-class UndoStep : public RefCounted<UndoStep> { |
+class UndoStep : public RefCountedWillBeGarbageCollectedFinalized<UndoStep> { |
public: |
virtual ~UndoStep() { } |
+ virtual void trace(Visitor*) { } |
virtual bool belongsTo(const LocalFrame&) const = 0; |
virtual void unapply() = 0; |