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) |