Index: Source/modules/speech/SpeechRecognitionResultList.cpp |
diff --git a/Source/modules/speech/SpeechRecognitionResultList.cpp b/Source/modules/speech/SpeechRecognitionResultList.cpp |
index 516eabbe357ce6011d994da2653c979dcf01e29c..0a23ebc82f95429b1ced56c3d426c590c361f533 100644 |
--- a/Source/modules/speech/SpeechRecognitionResultList.cpp |
+++ b/Source/modules/speech/SpeechRecognitionResultList.cpp |
@@ -29,9 +29,9 @@ |
namespace WebCore { |
-PassRefPtrWillBeRawPtr<SpeechRecognitionResultList> SpeechRecognitionResultList::create(const WillBeHeapVector<RefPtrWillBeMember<SpeechRecognitionResult> >& results) |
+SpeechRecognitionResultList* SpeechRecognitionResultList::create(const HeapVector<Member<SpeechRecognitionResult> >& results) |
{ |
- return adoptRefWillBeNoop(new SpeechRecognitionResultList(results)); |
+ return new SpeechRecognitionResultList(results); |
} |
SpeechRecognitionResult* SpeechRecognitionResultList::item(unsigned long index) |
@@ -42,7 +42,7 @@ SpeechRecognitionResult* SpeechRecognitionResultList::item(unsigned long index) |
return m_results[index].get(); |
} |
-SpeechRecognitionResultList::SpeechRecognitionResultList(const WillBeHeapVector<RefPtrWillBeMember<SpeechRecognitionResult> >& results) |
+SpeechRecognitionResultList::SpeechRecognitionResultList(const HeapVector<Member<SpeechRecognitionResult> >& results) |
: m_results(results) |
{ |
ScriptWrappable::init(this); |