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:
timeless@mac.com
2002-09-03 14:51:05 +00:00
parent 2cdb75d804
commit a176bd1a37
13 changed files with 39 additions and 39 deletions

View File

@@ -109,7 +109,7 @@ nsSanePluginInstance::nsSanePluginInstance( void )
mOnScanCompleteScript = nsnull;
mOnInitCompleteScript = nsnull;
mScanThread = nsnull;
mUIThread = PR_CurrentThread();
mUIThread = PR_GetCurrentThread();
mState = 0; // idle
mSuccess = 1; // success
@@ -682,7 +682,7 @@ nsSanePluginInstance::IsUIThread()
if (!mUIThread)
return PR_FALSE;
return (mUIThread == PR_CurrentThread());
return (mUIThread == PR_GetCurrentThread());
}
// End of Plugin Instance API Methods.