Index: Source/modules/speech/SpeechRecognitionEvent.h |
diff --git a/Source/modules/speech/SpeechRecognitionEvent.h b/Source/modules/speech/SpeechRecognitionEvent.h |
index 583c68888c0af15b9f3686b58e9ea95206dbb32a..e716305762420dfa1e54876a860e9c08f0ef2140 100644 |
--- a/Source/modules/speech/SpeechRecognitionEvent.h |
+++ b/Source/modules/speech/SpeechRecognitionEvent.h |
@@ -52,8 +52,8 @@ public: |
static PassRefPtr<SpeechRecognitionEvent> create(const AtomicString&, const SpeechRecognitionEventInit&); |
virtual ~SpeechRecognitionEvent(); |
- static PassRefPtr<SpeechRecognitionEvent> createResult(unsigned long resultIndex, const Vector<RefPtr<SpeechRecognitionResult> >& results); |
- static PassRefPtr<SpeechRecognitionEvent> createNoMatch(PassRefPtr<SpeechRecognitionResult>); |
+ static PassRefPtr<SpeechRecognitionEvent> createResult(unsigned long resultIndex, const WillBeHeapVector<RefPtrWillBeMember<SpeechRecognitionResult> >& results); |
+ static PassRefPtr<SpeechRecognitionEvent> createNoMatch(PassRefPtrWillBeRawPtr<SpeechRecognitionResult>); |
unsigned long resultIndex() const { return m_resultIndex; } |
SpeechRecognitionResultList* results() const { return m_results.get(); } |