Index: Source/modules/speech/SpeechRecognition.cpp |
diff --git a/Source/modules/speech/SpeechRecognition.cpp b/Source/modules/speech/SpeechRecognition.cpp |
index a6cc5a526b964d251b4af928fea4f57eca2e65ca..eb0dcaf0af73e550fcdeb547d577f3d4c0b498a6 100644 |
--- a/Source/modules/speech/SpeechRecognition.cpp |
+++ b/Source/modules/speech/SpeechRecognition.cpp |
@@ -171,7 +171,7 @@ SpeechRecognition::SpeechRecognition(ExecutionContext* context) |
, m_continuous(false) |
, m_interimResults(false) |
, m_maxAlternatives(1) |
- , m_controller(0) |
+ , m_controller(nullptr) |
, m_stoppedByActiveDOMObject(false) |
, m_started(false) |
, m_stopping(false) |
@@ -195,6 +195,9 @@ SpeechRecognition::~SpeechRecognition() |
void SpeechRecognition::trace(Visitor* visitor) |
{ |
visitor->trace(m_grammars); |
+#if ENABLE(OILPAN) |
+ visitor->trace(m_controller); |
+#endif |
visitor->trace(m_finalResults); |
EventTargetWithInlineData::trace(visitor); |
} |