Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa

This commit is contained in:
jaggernaut@netscape.com
2001-07-25 07:54:28 +00:00
parent 7646cf33f8
commit c2bcad0b73
341 changed files with 1251 additions and 913 deletions

View File

@@ -2515,8 +2515,8 @@ void PR_CALLBACK scanimage_thread_routine( void * arg )
nsCOMPtr<nsIEventQueue> eventQ;
// Get the event queue of the current thread...
NS_WITH_SERVICE(nsIEventQueueService, eventQService,
kEventQueueService, &rv);
nsCOMPtr<nsIEventQueueService> eventQService =
do_GetService(kEventQueueService, &rv);
if (NS_FAILED(rv)) {
NS_ERROR("Unable to get event queue service!\n");
return;