mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Changed to use threadsafe implementations of addref/release
This commit is contained in:
parent
5243af866b
commit
7ee600dafc
@ -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()
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user