Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1338)

Unified Diff: Source/web/SpeechInputClientImpl.cpp

Issue 170423004: Add Oilpan transition types for core/speech. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert SpeechInputResult::create() overload to take a const ref. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/speech/SpeechInputResultList.idl ('k') | Source/web/WebSpeechInputResult.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « Source/core/speech/SpeechInputResultList.idl ('k') | Source/web/WebSpeechInputResult.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698