XPCOM initialize primary event queue. 135531. r=brendan@mozilla.org, sr=darin@netscape.com

git-svn-id: svn://10.0.0.236/trunk@119007 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2002-04-15 22:52:15 +00:00
parent 1ddd386e5e
commit baa3697d5a

View File

@@ -300,22 +300,6 @@ nsViewerApp::Initialize(int argc, char** argv)
return rv;
}
// Create the Event Queue for the UI thread...
rv = nsServiceManager::GetService(kEventQueueServiceCID,
kIEventQueueServiceIID,
(nsISupports **)&mEventQService);
if (NS_OK != rv) {
NS_ASSERTION(PR_FALSE, "Could not obtain the event queue service");
return rv;
}
printf("Going to create the event queue\n");
rv = mEventQService->CreateThreadEventQueue();
if (NS_OK != rv) {
NS_ASSERTION(PR_FALSE, "Could not create the event queue for the the thread");
return rv;
}
InitializeWindowCreator();
// Create widget application shell