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:
darin%meer.net
2006-02-25 02:11:15 +00:00
parent 1a2bbe8c7a
commit f4b65b50a4
49 changed files with 132 additions and 143 deletions

View File

@@ -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;
}