| Index: Source/modules/speech/SpeechGrammarList.h
|
| diff --git a/Source/modules/speech/SpeechGrammarList.h b/Source/modules/speech/SpeechGrammarList.h
|
| index 9b6f4499c6b968fe7f4c5e92d3094be26250e4d9..1c512906dd1acae00b0a493a529d539956bd1630 100644
|
| --- a/Source/modules/speech/SpeechGrammarList.h
|
| +++ b/Source/modules/speech/SpeechGrammarList.h
|
| @@ -29,14 +29,16 @@
|
| #include "bindings/v8/ScriptWrappable.h"
|
| #include "modules/speech/SpeechGrammar.h"
|
| #include "platform/heap/Handle.h"
|
| +#include "wtf/RefCounted.h"
|
| +#include "wtf/Vector.h"
|
|
|
| namespace WebCore {
|
|
|
| class ExecutionContext;
|
|
|
| -class SpeechGrammarList : public GarbageCollectedFinalized<SpeechGrammarList>, public ScriptWrappable {
|
| +class SpeechGrammarList : public RefCountedWillBeGarbageCollectedFinalized<SpeechGrammarList>, public ScriptWrappable {
|
| public:
|
| - static SpeechGrammarList* create();
|
| + static PassRefPtrWillBeRawPtr<SpeechGrammarList> create();
|
|
|
| unsigned long length() const { return m_grammars.size(); }
|
| SpeechGrammar* item(unsigned long) const;
|
| @@ -49,7 +51,7 @@
|
| private:
|
| SpeechGrammarList();
|
|
|
| - HeapVector<Member<SpeechGrammar> > m_grammars;
|
| + WillBeHeapVector<RefPtrWillBeMember<SpeechGrammar> > m_grammars;
|
| };
|
|
|
| } // namespace WebCore
|
|
|