mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 1220320 - implement the nsSupportsWeakReference. r=baku
--HG-- extra : transplant_source : %B1%5C%05%C3%06lY%88%EDv%E9%22M6%3Cdtz%A4%3E
This commit is contained in:
parent
b9ace4602b
commit
caa47cc319
@ -100,6 +100,7 @@ NS_IMPL_CYCLE_COLLECTION(nsSpeechTask, mSpeechSynthesis, mUtterance, mCallback);
|
||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsSpeechTask)
|
||||
NS_INTERFACE_MAP_ENTRY(nsISpeechTask)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIAudioChannelAgentCallback)
|
||||
NS_INTERFACE_MAP_ENTRY(nsISupportsWeakReference)
|
||||
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsISpeechTask)
|
||||
NS_INTERFACE_MAP_END
|
||||
|
||||
|
@ -21,6 +21,7 @@ class SynthStreamListener;
|
||||
|
||||
class nsSpeechTask : public nsISpeechTask
|
||||
, public nsIAudioChannelAgentCallback
|
||||
, public nsSupportsWeakReference
|
||||
{
|
||||
friend class SynthStreamListener;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user