Index: Source/modules/speech/SpeechRecognitionResultList.cpp |
diff --git a/Source/modules/speech/SpeechRecognitionResultList.cpp b/Source/modules/speech/SpeechRecognitionResultList.cpp |
index 03c8990cde02dcd078e377d27de1e8ce10458f88..0e4eecbbc7a1ed25ba732e1749d7213c41521216 100644 |
--- a/Source/modules/speech/SpeechRecognitionResultList.cpp |
+++ b/Source/modules/speech/SpeechRecognitionResultList.cpp |
@@ -37,9 +37,9 @@ SpeechRecognitionResultList* SpeechRecognitionResultList::create(const HeapVecto |
SpeechRecognitionResult* SpeechRecognitionResultList::item(unsigned index) |
{ |
if (index >= m_results.size()) |
- return 0; |
+ return nullptr; |
- return m_results[index].get(); |
+ return m_results[index]; |
} |
SpeechRecognitionResultList::SpeechRecognitionResultList(const HeapVector<Member<SpeechRecognitionResult>>& results) |