Changed to use threadsafe implementations of addref/release

This commit is contained in:
troy%netscape.com 2000-03-14 04:06:10 +00:00
parent 5243af866b
commit 7ee600dafc
2 changed files with 5 additions and 5 deletions

View File

@ -158,8 +158,8 @@ ImageConsumer::ImageConsumer(ilIURL *aURL, ImageNetContextImpl *aContext)
mUserContext = nsnull;
}
NS_IMPL_ADDREF(ImageConsumer)
NS_IMPL_RELEASE(ImageConsumer)
NS_IMPL_THREADSAFE_ADDREF(ImageConsumer)
NS_IMPL_THREADSAFE_RELEASE(ImageConsumer)
NS_INTERFACE_MAP_BEGIN(ImageConsumer)
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIURIContentListener)
@ -531,7 +531,7 @@ ImageNetContextImpl::~ImageNetContextImpl()
}
}
NS_IMPL_ISUPPORTS(ImageNetContextImpl, kIImageNetContextIID)
NS_IMPL_THREADSAFE_ISUPPORTS(ImageNetContextImpl, kIImageNetContextIID)
ilINetContext*
ImageNetContextImpl::Clone()

View File

@ -122,8 +122,8 @@ ImageURLImpl::QueryInterface(const nsIID& aIID,
return NS_NOINTERFACE;
}
NS_IMPL_ADDREF(ImageURLImpl)
NS_IMPL_RELEASE(ImageURLImpl)
NS_IMPL_THREADSAFE_ADDREF(ImageURLImpl)
NS_IMPL_THREADSAFE_RELEASE(ImageURLImpl)
void
ImageURLImpl::SetReader(ilINetReader *aReader)