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

Unified Diff: third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 years, 1 month 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
Index: third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
diff --git a/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp b/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
index bfe1b4e8914246920194e2d77b2cdeb21acb2e61..3686ab03af8b9f2f700928c2a870f04625d94bc8 100644
--- a/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
+++ b/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
@@ -48,6 +48,16 @@ SpeechRecognition* SpeechRecognition::create(ExecutionContext* context)
return speechRecognition;
}
+MediaStreamTrack* SpeechRecognition::audioTrack() const
+{
+ return m_audioTrack;
+}
+
+void SpeechRecognition::setAudioTrack(MediaStreamTrack* audioTrack)
+{
+ m_audioTrack = audioTrack;
+}
+
void SpeechRecognition::start(ExceptionState& exceptionState)
{
if (!m_controller)

Powered by Google App Engine
This is Rietveld 408576698