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

Unified Diff: Source/web/WebSpeechRecognitionHandle.cpp

Issue 330463002: Revert of Enable Oilpan by default in modules/speech/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 42cae0ecd1bd9a3ac24feb5e04a63a159b803a44..7753867b108dbb0018157b47303e20705245e789 100644
--- a/Source/web/WebSpeechRecognitionHandle.cpp
+++ b/Source/web/WebSpeechRecognitionHandle.cpp
@@ -52,18 +52,18 @@
return m_private.get() < other.m_private.get();
}
-WebSpeechRecognitionHandle::WebSpeechRecognitionHandle(WebCore::SpeechRecognition* speechRecognition)
+WebSpeechRecognitionHandle::WebSpeechRecognitionHandle(const PassRefPtrWillBeRawPtr<SpeechRecognition>& speechRecognition)
: m_private(speechRecognition)
{
}
-WebSpeechRecognitionHandle& WebSpeechRecognitionHandle::operator=(WebCore::SpeechRecognition* speechRecognition)
+WebSpeechRecognitionHandle& WebSpeechRecognitionHandle::operator=(const PassRefPtrWillBeRawPtr<SpeechRecognition>& speechRecognition)
{
m_private = speechRecognition;
return *this;
}
-WebSpeechRecognitionHandle::operator SpeechRecognition*() const
+WebSpeechRecognitionHandle::operator PassRefPtrWillBeRawPtr<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