Chromium Code Reviews| Index: Source/web/SpeechInputClientImpl.cpp |
| diff --git a/Source/web/SpeechInputClientImpl.cpp b/Source/web/SpeechInputClientImpl.cpp |
| index 1026596e8f3b7fbf7f841e67dfae900e9da77edb..0eb2844d1ea4277b38ee5182cc468d6d8d640dae 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] = static_cast<WTF::PassRefPtrWillBeRawPtr<WebCore::SpeechInputResult> >(results[i]); |
|
haraken
2014/02/17 09:04:57
This cast looks weird. Can we remove this somehow?
|
| m_listener->setRecognitionResult(requestId, webcoreResults); |
| } |