Index: Source/web/SpeechInputClientImpl.cpp |
diff --git a/Source/web/SpeechInputClientImpl.cpp b/Source/web/SpeechInputClientImpl.cpp |
index 1026596e8f3b7fbf7f841e67dfae900e9da77edb..42d5e358b081ad23f5ecfd3ce11039a6bd1bf2eb 100644 |
--- a/Source/web/SpeechInputClientImpl.cpp |
+++ b/Source/web/SpeechInputClientImpl.cpp |
@@ -98,7 +98,7 @@ void SpeechInputClientImpl::setRecognitionResult(int requestId, const WebSpeechI |
ASSERT(m_listener); |
WebCore::SpeechInputResultArray webcoreResults(results.size()); |
for (size_t i = 0; i < results.size(); ++i) |
- webcoreResults[i] = results[i]; |
+ webcoreResults[i] = PassRefPtrWillBeRawPtr<WebCore::SpeechInputResult>(results[i]); |
m_listener->setRecognitionResult(requestId, webcoreResults); |
} |