mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 859675. Return the canonical nsISupports from ToSupports(SpeechRecognition). r=smaug
This commit is contained in:
parent
09330d7a52
commit
f15611a0b8
@ -291,6 +291,6 @@ private:
|
||||
inline nsISupports*
|
||||
ToSupports(dom::SpeechRecognition* aRec)
|
||||
{
|
||||
return static_cast<nsIObserver*>(aRec);
|
||||
return ToSupports(static_cast<nsDOMEventTargetHelper*>(aRec));
|
||||
}
|
||||
} // namespace mozilla
|
||||
|
Loading…
Reference in New Issue
Block a user