Bug 884061 - Part 3t: Use NS_DECL_THREADSAFE_ISUPPORTS in startupcache/, r=mwu

--HG--
extra : rebase_source : 8a990b22d5b98b2b25f26530fe1f88ac388ae788
This commit is contained in:
Joshua Cranmer 2013-07-18 21:24:14 -05:00
parent 870351ab3d
commit a0980cbcf6
2 changed files with 4 additions and 4 deletions

View File

@ -560,7 +560,7 @@ StartupCache::WriteTimeout(nsITimer *aTimer, void *aClosure)
// We don't want to refcount StartupCache, so we'll just
// hold a ref to this and pass it to observerService instead.
NS_IMPL_THREADSAFE_ISUPPORTS1(StartupCacheListener, nsIObserver)
NS_IMPL_ISUPPORTS1(StartupCacheListener, nsIObserver)
nsresult
StartupCacheListener::Observe(nsISupports *subject, const char* topic, const PRUnichar* data)
@ -715,7 +715,7 @@ StartupCacheDebugOutputStream::PutBuffer(char* aBuffer, uint32_t aLength)
StartupCacheWrapper* StartupCacheWrapper::gStartupCacheWrapper = nullptr;
NS_IMPL_THREADSAFE_ISUPPORTS1(StartupCacheWrapper, nsIStartupCache)
NS_IMPL_ISUPPORTS1(StartupCacheWrapper, nsIStartupCache)
StartupCacheWrapper* StartupCacheWrapper::GetSingleton()
{

View File

@ -92,7 +92,7 @@ struct CacheEntry
// refcount its listeners, so we'll let it refcount this instead.
class StartupCacheListener MOZ_FINAL : public nsIObserver
{
NS_DECL_ISUPPORTS
NS_DECL_THREADSAFE_ISUPPORTS
NS_DECL_NSIOBSERVER
};
@ -214,7 +214,7 @@ class StartupCacheDebugOutputStream MOZ_FINAL
class StartupCacheWrapper MOZ_FINAL
: public nsIStartupCache
{
NS_DECL_ISUPPORTS
NS_DECL_THREADSAFE_ISUPPORTS
NS_DECL_NSISTARTUPCACHE
static StartupCacheWrapper* GetSingleton();