mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 15:51:37 +00:00
Few debug statements added
This commit is contained in:
parent
9b7cdedbb4
commit
7237c0f644
@ -199,11 +199,17 @@ nsViewerApp::Initialize(int argc, char** argv)
|
||||
rv = nsServiceManager::GetService(kEventQueueServiceCID,
|
||||
kIEventQueueServiceIID,
|
||||
(nsISupports **)&mEventQService);
|
||||
if (NS_OK == rv) {
|
||||
// XXX: What if this fails?
|
||||
rv = mEventQService->CreateThreadEventQueue();
|
||||
if (NS_OK != rv) {
|
||||
NS_ASSERTION("Could not obtain the event queue service", PR_FALSE);
|
||||
return rv;
|
||||
}
|
||||
|
||||
printf("Going to create the event queue\n");
|
||||
rv = mEventQService->CreateThreadEventQueue();
|
||||
if (NS_OK != rv) {
|
||||
NS_ASSERTION("Could not create the event queue for the the thread", PR_FALSE);
|
||||
return rv;
|
||||
}
|
||||
|
||||
// Create widget application shell
|
||||
rv = nsRepository::CreateInstance(kAppShellCID, nsnull, kIAppShellIID,
|
||||
|
Loading…
x
Reference in New Issue
Block a user