Index: Source/platform/text/TextChecking.h |
diff --git a/Source/platform/text/TextChecking.h b/Source/platform/text/TextChecking.h |
index 2a6c5134f0c3bb7d9f064540de46ab498abcffec..458a5c7132d654f9479d4651c273da98ca891422 100644 |
--- a/Source/platform/text/TextChecking.h |
+++ b/Source/platform/text/TextChecking.h |
@@ -31,6 +31,7 @@ |
#ifndef TextChecking_h |
#define TextChecking_h |
+#include "platform/heap/Handle.h" |
#include "platform/text/TextDecoration.h" |
#include "wtf/RefCounted.h" |
#include "wtf/Vector.h" |
@@ -103,9 +104,10 @@ private: |
Vector<unsigned> m_offsets; |
}; |
-class TextCheckingRequest : public RefCounted<TextCheckingRequest> { |
+class TextCheckingRequest : public RefCountedWillBeGarbageCollectedFinalized<TextCheckingRequest> { |
public: |
virtual ~TextCheckingRequest() { } |
+ virtual void trace(Visitor*) { } |
virtual const TextCheckingRequestData& data() const = 0; |
virtual void didSucceed(const Vector<TextCheckingResult>&) = 0; |