Bug 859675. Return the canonical nsISupports from ToSupports(SpeechRecognition). r=smaug

This commit is contained in:
Boris Zbarsky 2013-04-09 12:26:36 -04:00
parent 09330d7a52
commit f15611a0b8

View File

@ -291,6 +291,6 @@ private:
inline nsISupports*
ToSupports(dom::SpeechRecognition* aRec)
{
return static_cast<nsIObserver*>(aRec);
return ToSupports(static_cast<nsDOMEventTargetHelper*>(aRec));
}
} // namespace mozilla