updated to latest interfaces.
git-svn-id: svn://10.0.0.236/branches/THREADS_20060213_BRANCH@191230 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -262,7 +262,7 @@ PageGrabber::Grab(const nsCString& aURL)
|
||||
// Enter the message pump to allow the URL load to proceed.
|
||||
nsCOMPtr<nsIThread> thread = do_GetCurrentThread();
|
||||
while ( !copier->IsDone() ) {
|
||||
rv = thread->RunNextTask(nsIThread::RUN_NORMAL);
|
||||
rv = thread->ProcessNextEvent();
|
||||
if (NS_FAILED(rv))
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user