зеркало из https://github.com/mozilla/pjs.git
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
Original committer: darin%meer.net Original revision: 1.32 Original date: 2006/05/10 17:29:30
This commit is contained in:
Родитель
678187d131
Коммит
0b22ef562f
|
@ -46,7 +46,6 @@
|
|||
#include "nsIInputStream.h"
|
||||
#include "nsEnumeratorUtils.h"
|
||||
#include "nsAppFileLocProviderProxy.h"
|
||||
#include "nsIEventQueueService.h"
|
||||
#include "nsXULAppAPI.h"
|
||||
#include "nsILocalFile.h"
|
||||
|
||||
|
@ -137,13 +136,6 @@ InitXPCOM_Impl(JNIEnv* env, jobject aMozBinDirectory,
|
|||
}
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
// init Event Queue
|
||||
nsCOMPtr<nsIEventQueueService> eventQService =
|
||||
do_GetService(NS_EVENTQUEUESERVICE_CONTRACTID, &rv);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
rv = eventQService->CreateThreadEventQueue();
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
// create Java proxy for service manager returned by NS_InitXPCOM2
|
||||
return GetNewOrUsedJavaObject(env, servMan, NS_GET_IID(nsIServiceManager),
|
||||
aResult);
|
||||
|
|
Загрузка…
Ссылка в новой задаче