XPCOM initialize primary event queue. 135531. r=brendan@mozilla.org, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@118995 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2521,13 +2521,6 @@ void PR_CALLBACK scanimage_thread_routine( void * arg )
|
||||
return;
|
||||
}
|
||||
|
||||
rv = eventQService->CreateThreadEventQueue();
|
||||
if (NS_FAILED(rv)) {
|
||||
NS_ERROR("Unable to create new thread event queue!\n");
|
||||
// Does this mean that an event queue is already at
|
||||
// our disposal?
|
||||
}
|
||||
|
||||
rv = eventQService->GetThreadEventQueue(pthis->mUIThread,
|
||||
getter_AddRefs(eventQ));
|
||||
if (NS_FAILED(rv)) {
|
||||
|
||||
Reference in New Issue
Block a user