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

Unified Diff: Source/web/WebSpeechRecognitionHandle.cpp

Issue 315133004: Enable Oilpan by default in modules/speech/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 6 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/web/WebSpeechGrammar.cpp ('k') | Source/web/WebSpeechRecognitionResult.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSpeechRecognitionHandle.cpp
diff --git a/Source/web/WebSpeechRecognitionHandle.cpp b/Source/web/WebSpeechRecognitionHandle.cpp
index 7753867b108dbb0018157b47303e20705245e789..42cae0ecd1bd9a3ac24feb5e04a63a159b803a44 100644
--- a/Source/web/WebSpeechRecognitionHandle.cpp
+++ b/Source/web/WebSpeechRecognitionHandle.cpp
@@ -52,18 +52,18 @@ bool WebSpeechRecognitionHandle::lessThan(const WebSpeechRecognitionHandle& othe
return m_private.get() < other.m_private.get();
}
-WebSpeechRecognitionHandle::WebSpeechRecognitionHandle(const PassRefPtrWillBeRawPtr<SpeechRecognition>& speechRecognition)
+WebSpeechRecognitionHandle::WebSpeechRecognitionHandle(WebCore::SpeechRecognition* speechRecognition)
: m_private(speechRecognition)
{
}
-WebSpeechRecognitionHandle& WebSpeechRecognitionHandle::operator=(const PassRefPtrWillBeRawPtr<SpeechRecognition>& speechRecognition)
+WebSpeechRecognitionHandle& WebSpeechRecognitionHandle::operator=(WebCore::SpeechRecognition* speechRecognition)
{
m_private = speechRecognition;
return *this;
}
-WebSpeechRecognitionHandle::operator PassRefPtrWillBeRawPtr<SpeechRecognition>() const
+WebSpeechRecognitionHandle::operator SpeechRecognition*() const
{
return m_private.get();
}
« no previous file with comments | « Source/web/WebSpeechGrammar.cpp ('k') | Source/web/WebSpeechRecognitionResult.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698