Bug 45797: Remove deprecated NS_IMPL_QUERY_INTERFACE macro, patch by dbaron, r=jag, sr=alecf

This commit is contained in:
jaggernaut%netscape.com 2001-10-02 03:11:26 +00:00
parent 30b6e6587c
commit cd09c1b72a

View File

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