зеркало из https://github.com/mozilla/gecko-dev.git
NOT IN SEA MONKEY PULL. we weren't creating the thread eventQ.
This commit is contained in:
Родитель
d9bb5ac226
Коммит
8a4bf5c9b0
|
@ -144,7 +144,10 @@ nsCookieService::Init()
|
|||
|
||||
nsIEventQueue* eventQ;
|
||||
NS_WITH_SERVICE(nsIEventQueueService, eventQService, kEventQueueServiceCID, &rv);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
rv = eventQService->CreateThreadEventQueue();
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
rv = eventQService->GetThreadEventQueue(PR_CurrentThread(), &eventQ);
|
||||
}
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
|
Загрузка…
Ссылка в новой задаче