r=troy@netscape.com Patch from pnunn@netscape.com that eliminates asserts

in the xpcom ref counting macros that the class should have threadsafe
addref/release functions but doesn't


git-svn-id: svn://10.0.0.236/trunk@62656 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
2000-03-11 16:59:16 +00:00
parent e36f8a9042
commit 820330faa6
2 changed files with 2 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ ImageListener::~ImageListener()
NS_IF_RELEASE(mNextStream);
}
NS_IMPL_ISUPPORTS(ImageListener, kIStreamListenerIID)
NS_IMPL_THREADSAFE_ISUPPORTS(ImageListener, kIStreamListenerIID)
NS_IMETHODIMP
ImageListener::OnStartRequest(nsIChannel* channel, nsISupports *ctxt)

View File

@@ -109,7 +109,7 @@ ImageListener::~ImageListener()
NS_IF_RELEASE(mNextStream);
}
NS_IMPL_ISUPPORTS(ImageListener, kIStreamListenerIID)
NS_IMPL_THREADSAFE_ISUPPORTS(ImageListener, kIStreamListenerIID)
NS_IMETHODIMP
ImageListener::OnStartRequest(nsIChannel* channel, nsISupports *ctxt)