зеркало из https://github.com/mozilla/pjs.git
Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz
This commit is contained in:
Родитель
60c6184e99
Коммит
050718bdb2
|
@ -634,7 +634,7 @@ nsFileChannel::OnDataWritable(nsIRequest *aRequest, nsISupports *aContext,
|
||||||
PRUint32 aLength)
|
PRUint32 aLength)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
NS_ASSERTION(mInitiator == PR_CurrentThread(),
|
NS_ASSERTION(mInitiator == PR_GetCurrentThread(),
|
||||||
"wrong thread calling this routine");
|
"wrong thread calling this routine");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче