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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user