mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
Bug 45797: Remove deprecated NS_IMPL_QUERY_INTERFACE macro, patch by dbaron, r=jag, sr=alecf
This commit is contained in:
parent
30b6e6587c
commit
cd09c1b72a
@ -1100,7 +1100,6 @@ PSMContentDownloader::PSMContentDownloader(PRUint32 type)
|
|||||||
mType(type)
|
mType(type)
|
||||||
{
|
{
|
||||||
NS_INIT_ISUPPORTS();
|
NS_INIT_ISUPPORTS();
|
||||||
/*NS_INIT_REFCNT();*/
|
|
||||||
mNSS = do_GetService(PSM_COMPONENT_CONTRACTID);
|
mNSS = do_GetService(PSM_COMPONENT_CONTRACTID);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1110,8 +1109,8 @@ PSMContentDownloader::~PSMContentDownloader()
|
|||||||
nsMemory::Free(mByteData);
|
nsMemory::Free(mByteData);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*NS_IMPL_ISUPPORTS1(CertDownloader, nsIStreamListener);*/
|
/*NS_IMPL_ISUPPORTS1(CertDownloader, nsIStreamListener)*/
|
||||||
NS_IMPL_ISUPPORTS(PSMContentDownloader,NS_GET_IID(nsIStreamListener));
|
NS_IMPL_ISUPPORTS1(PSMContentDownloader,nsIStreamListener)
|
||||||
|
|
||||||
const PRInt32 kDefaultCertAllocLength = 2048;
|
const PRInt32 kDefaultCertAllocLength = 2048;
|
||||||
|
|
||||||
@ -1242,7 +1241,7 @@ NS_IMPL_ISUPPORTS2(PSMContentListener,
|
|||||||
|
|
||||||
PSMContentListener::PSMContentListener()
|
PSMContentListener::PSMContentListener()
|
||||||
{
|
{
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
mLoadCookie = nsnull;
|
mLoadCookie = nsnull;
|
||||||
mParentContentListener = nsnull;
|
mParentContentListener = nsnull;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user