Bug 1241183 - Make nsScriptLoadRequest non-threadsafe now it's no longer used as a context for network loads r=sicking

This commit is contained in:
Jon Coppeard 2016-01-21 10:19:06 +00:00
parent 730dc7bbb7
commit fdd67c37c1
2 changed files with 1 additions and 4 deletions

View File

@ -67,9 +67,6 @@ GetSriLog()
return gSriPRLog;
}
// The nsScriptLoadRequest is passed as the context to necko, and thus
// it needs to be threadsafe. Necko won't do anything with this
// context, but it will AddRef and Release it on other threads.
NS_IMPL_ISUPPORTS0(nsScriptLoadRequest)
nsScriptLoadRequestList::~nsScriptLoadRequestList()

View File

@ -82,7 +82,7 @@ public:
{
}
NS_DECL_THREADSAFE_ISUPPORTS
NS_DECL_ISUPPORTS
void FireScriptAvailable(nsresult aResult)
{