Index: Source/modules/speech/SpeechRecognitionResultList.h |
diff --git a/Source/modules/speech/SpeechRecognitionResultList.h b/Source/modules/speech/SpeechRecognitionResultList.h |
index f209370a86c575959f731cca1c78dd33d294bcbc..24ca14720cb88ef0058db9c62b2c08bc3f3842e2 100644 |
--- a/Source/modules/speech/SpeechRecognitionResultList.h |
+++ b/Source/modules/speech/SpeechRecognitionResultList.h |
@@ -27,27 +27,23 @@ |
#define SpeechRecognitionResultList_h |
#include "bindings/v8/ScriptWrappable.h" |
-#include "heap/Handle.h" |
#include "modules/speech/SpeechRecognitionResult.h" |
#include "wtf/RefCounted.h" |
#include "wtf/Vector.h" |
namespace WebCore { |
-class SpeechRecognitionResultList : public RefCountedWillBeGarbageCollectedFinalized<SpeechRecognitionResultList>, public ScriptWrappable { |
- DECLARE_GC_INFO; |
+class SpeechRecognitionResultList : public ScriptWrappable, public RefCounted<SpeechRecognitionResultList> { |
public: |
- static PassRefPtrWillBeRawPtr<SpeechRecognitionResultList> create(const Vector<RefPtr<SpeechRecognitionResult> >&); |
+ static PassRefPtr<SpeechRecognitionResultList> create(const Vector<RefPtr<SpeechRecognitionResult> >&); |
unsigned long length() { return m_results.size(); } |
SpeechRecognitionResult* item(unsigned long index); |
- void trace(Visitor*); |
- |
private: |
explicit SpeechRecognitionResultList(const Vector<RefPtr<SpeechRecognitionResult> >&); |
- WillBeHeapVector<RefPtrWillBeMember<SpeechRecognitionResult> > m_results; |
+ Vector<RefPtr<SpeechRecognitionResult> > m_results; |
}; |
} // namespace WebCore |