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