Author: Kyle Yuan

r=edburns

bugfix from Kyle.  Prep for future work.


git-svn-id: svn://10.0.0.236/trunk@142439 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2003-05-14 15:54:45 +00:00
parent c903f0e328
commit a91359c022
4 changed files with 15 additions and 16 deletions

View File

@@ -65,11 +65,8 @@ WindowCreator::CreateChromeWindow(nsIWebBrowserChrome *parent,
0);
// check gNewWindowInitContext to see if the initialization had completed
void* threadId = PR_GetCurrentThread();
while (!gNewWindowInitContext) {
if (threadId == (void *) gEmbeddedThread) {
processEventLoop(mInitContext);
}
processEventLoop(mInitContext);
::PR_Sleep(PR_INTERVAL_NO_WAIT);
}