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

Unified Diff: Source/core/editing/UndoStep.h

Issue 299353004: Oilpan: move editing objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make test wrapper class finalized Created 6 years, 7 months 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
« no previous file with comments | « Source/core/editing/UndoStack.cpp ('k') | Source/core/editing/UnlinkCommand.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/editing/UndoStack.cpp ('k') | Source/core/editing/UnlinkCommand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698