Make res/chrome handlers implement threadsafe_isupports
This commit is contained in:
Родитель
d6b5ea66bb
Коммит
68b998a06d
|
@ -573,7 +573,7 @@ nsChromeProtocolHandler::~nsChromeProtocolHandler()
|
|||
{
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsChromeProtocolHandler, NS_GET_IID(nsIProtocolHandler));
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS(nsChromeProtocolHandler, NS_GET_IID(nsIProtocolHandler));
|
||||
|
||||
NS_METHOD
|
||||
nsChromeProtocolHandler::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult)
|
||||
|
|
|
@ -265,7 +265,7 @@ nsChromeRegistry::~nsChromeRegistry()
|
|||
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsChromeRegistry, nsIChromeRegistry);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsChromeRegistry, nsIChromeRegistry);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// nsIChromeRegistry methods:
|
||||
|
|
|
@ -105,7 +105,7 @@ nsXULPrototypeCache::~nsXULPrototypeCache()
|
|||
}
|
||||
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsXULPrototypeCache, nsIXULPrototypeCache);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsXULPrototypeCache, nsIXULPrototypeCache);
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
|
@ -184,7 +184,7 @@ nsResProtocolHandler::~nsResProtocolHandler()
|
|||
mSubstitutions.Enumerate(DeleteCStringArray, nsnull);
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS2(nsResProtocolHandler, nsIResProtocolHandler, nsIProtocolHandler)
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS2(nsResProtocolHandler, nsIResProtocolHandler, nsIProtocolHandler)
|
||||
|
||||
NS_METHOD
|
||||
nsResProtocolHandler::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult)
|
||||
|
|
|
@ -556,7 +556,7 @@ CompositeDataSourceImpl::CompositeDataSourceImpl(void)
|
|||
// nsISupports interface
|
||||
//
|
||||
|
||||
NS_IMPL_ADDREF(CompositeDataSourceImpl);
|
||||
NS_IMPL_THREADSAFE_ADDREF(CompositeDataSourceImpl);
|
||||
|
||||
NS_IMETHODIMP_(nsrefcnt)
|
||||
CompositeDataSourceImpl::Release()
|
||||
|
|
|
@ -88,7 +88,7 @@ nsIRDFResource* RDFContainerUtilsImpl::kRDF_Alt;
|
|||
////////////////////////////////////////////////////////////////////////
|
||||
// nsISupports interface
|
||||
|
||||
NS_IMPL_ISUPPORTS(RDFContainerUtilsImpl, NS_GET_IID(nsIRDFContainerUtils));
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS(RDFContainerUtilsImpl, NS_GET_IID(nsIRDFContainerUtils));
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// nsIRDFContainerUtils interface
|
||||
|
|
|
@ -176,8 +176,8 @@ LiteralImpl::~LiteralImpl()
|
|||
NS_RELEASE2(gRDFService, refcnt);
|
||||
}
|
||||
|
||||
NS_IMPL_ADDREF(LiteralImpl);
|
||||
NS_IMPL_RELEASE(LiteralImpl);
|
||||
NS_IMPL_THREADSAFE_ADDREF(LiteralImpl);
|
||||
NS_IMPL_THREADSAFE_RELEASE(LiteralImpl);
|
||||
|
||||
nsresult
|
||||
LiteralImpl::QueryInterface(REFNSIID iid, void** result)
|
||||
|
|
|
@ -573,7 +573,7 @@ nsChromeProtocolHandler::~nsChromeProtocolHandler()
|
|||
{
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsChromeProtocolHandler, NS_GET_IID(nsIProtocolHandler));
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS(nsChromeProtocolHandler, NS_GET_IID(nsIProtocolHandler));
|
||||
|
||||
NS_METHOD
|
||||
nsChromeProtocolHandler::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult)
|
||||
|
|
|
@ -265,7 +265,7 @@ nsChromeRegistry::~nsChromeRegistry()
|
|||
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsChromeRegistry, nsIChromeRegistry);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsChromeRegistry, nsIChromeRegistry);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// nsIChromeRegistry methods:
|
||||
|
|
|
@ -105,7 +105,7 @@ nsXULPrototypeCache::~nsXULPrototypeCache()
|
|||
}
|
||||
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsXULPrototypeCache, nsIXULPrototypeCache);
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsXULPrototypeCache, nsIXULPrototypeCache);
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
Загрузка…
Ссылка в новой задаче