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:
Gabriele Svelto 2018-11-09 22:20:54 +00:00
parent c7526e1fa0
commit d3db709684
4 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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)

View File

@ -90,7 +90,7 @@ nsClipboard::~nsClipboard()
}
}
NS_IMPL_ISUPPORTS(nsClipboard, nsIClipboard)
NS_IMPL_ISUPPORTS(nsClipboard, nsIClipboard, nsIObserver)
nsresult
nsClipboard::Init(void)

View File

@ -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()