Index: Source/modules/speech/SpeechRecognition.h |
diff --git a/Source/modules/speech/SpeechRecognition.h b/Source/modules/speech/SpeechRecognition.h |
index fa4d04592e71459a1781ec1202f3a3b5fddaad73..65dbcdec24c308969f7f965f606b4f04e4233e2b 100644 |
--- a/Source/modules/speech/SpeechRecognition.h |
+++ b/Source/modules/speech/SpeechRecognition.h |
@@ -50,7 +50,7 @@ public: |
virtual ~SpeechRecognition(); |
// Attributes. |
- SpeechGrammarList* grammars() { return m_grammars.get(); } |
+ SpeechGrammarList* grammars() { return m_grammars; } |
void setGrammars(SpeechGrammarList* grammars) { m_grammars = grammars; } |
String lang() { return m_lang; } |
void setLang(const String& lang) { m_lang = lang; } |
@@ -110,7 +110,7 @@ private: |
bool m_interimResults; |
unsigned long m_maxAlternatives; |
- SpeechRecognitionController* m_controller; |
+ RawPtrWillBeMember<SpeechRecognitionController> m_controller; |
bool m_stoppedByActiveDOMObject; |
bool m_started; |
bool m_stopping; |