| Index: Source/core/speech/SpeechInputResultList.h
|
| diff --git a/Source/core/speech/SpeechInputResultList.h b/Source/core/speech/SpeechInputResultList.h
|
| index 3edb9d5bef0638a0a85e30a074672602d15d4bb0..a51ad9bcdea7c14c0a5f15242cd9fb7edac24136 100644
|
| --- a/Source/core/speech/SpeechInputResultList.h
|
| +++ b/Source/core/speech/SpeechInputResultList.h
|
| @@ -30,19 +30,23 @@
|
|
|
| #include "bindings/v8/ScriptWrappable.h"
|
| #include "core/speech/SpeechInputResult.h"
|
| +#include "heap/Handle.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefCounted.h"
|
|
|
| namespace WebCore {
|
|
|
| -class SpeechInputResultList : public RefCounted<SpeechInputResultList>, public ScriptWrappable {
|
| +class SpeechInputResultList : public RefCountedWillBeGarbageCollectedFinalized<SpeechInputResultList>, public ScriptWrappable {
|
| + DECLARE_GC_INFO;
|
| public:
|
| - static PassRefPtr<SpeechInputResultList> create(const SpeechInputResultArray& results);
|
| + static PassRefPtrWillBeRawPtr<SpeechInputResultList> create(const SpeechInputResultArray& results);
|
|
|
| // Methods from the IDL.
|
| size_t length() { return m_results.size(); }
|
| SpeechInputResult* item(unsigned index);
|
|
|
| + void trace(Visitor *);
|
| +
|
| private:
|
| explicit SpeechInputResultList(const SpeechInputResultArray& results);
|
|
|
|
|