mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 1506264 - Fix querying the nsIObserver interface in all classes implementing it r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D11530 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
c7526e1fa0
commit
d3db709684
@ -22,7 +22,7 @@
|
||||
#include "NSSKeyStore.h"
|
||||
#endif
|
||||
|
||||
NS_IMPL_ISUPPORTS(OSKeyStore, nsIOSKeyStore)
|
||||
NS_IMPL_ISUPPORTS(OSKeyStore, nsIOSKeyStore, nsIObserver)
|
||||
|
||||
using namespace mozilla;
|
||||
using dom::Promise;
|
||||
|
@ -45,7 +45,7 @@ extern "C" {
|
||||
nsProfiler::SymbolTable* symbol_table);
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsProfiler, nsIProfiler)
|
||||
NS_IMPL_ISUPPORTS(nsProfiler, nsIProfiler, nsIObserver)
|
||||
|
||||
nsProfiler::nsProfiler()
|
||||
: mLockedForPrivateBrowsing(false)
|
||||
|
@ -90,7 +90,7 @@ nsClipboard::~nsClipboard()
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsClipboard, nsIClipboard)
|
||||
NS_IMPL_ISUPPORTS(nsClipboard, nsIClipboard, nsIObserver)
|
||||
|
||||
nsresult
|
||||
nsClipboard::Init(void)
|
||||
|
@ -115,7 +115,7 @@ nsSound::GetInstance()
|
||||
#define SND_PURGE 0
|
||||
#endif
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsSound, nsISound, nsIStreamLoaderObserver)
|
||||
NS_IMPL_ISUPPORTS(nsSound, nsISound, nsIStreamLoaderObserver, nsIObserver)
|
||||
|
||||
|
||||
nsSound::nsSound()
|
||||
|
Loading…
Reference in New Issue
Block a user