Bug 1541298 - Cycle collect what we can in SpeechRecognition. r=jib

Differential Revision: https://phabricator.services.mozilla.com/D26723

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andreas Pehrson 2019-04-12 11:35:06 +00:00
Родитель e6c2e7bc87
Коммит 5e3f41a348
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -104,7 +104,8 @@ already_AddRefed<nsISpeechRecognitionService> GetSpeechRecognitionService(
} }
NS_IMPL_CYCLE_COLLECTION_INHERITED(SpeechRecognition, DOMEventTargetHelper, NS_IMPL_CYCLE_COLLECTION_INHERITED(SpeechRecognition, DOMEventTargetHelper,
mTrack, mSpeechGrammarList) mStream, mTrack, mRecognitionService,
mSpeechGrammarList)
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(SpeechRecognition) NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(SpeechRecognition)
NS_INTERFACE_MAP_ENTRY(nsIObserver) NS_INTERFACE_MAP_ENTRY(nsIObserver)