Skip to content
Snippets Groups Projects
Commit 7ee600da authored by troy%netscape.com's avatar troy%netscape.com
Browse files

Changed to use threadsafe implementations of addref/release

parent 5243af86
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment