rv = queue->Init();
rv = queue->InitFromPRThread(thread);
nsresult EventQueueEntry::MakeNewQueue(nsIEventQueue **aQueue){  nsIEventQueue *queue = 0;  nsresult      rv;  rv = nsComponentManager::CreateInstance(kEventQueueCID, NULL,                NS_GET_IID(nsIEventQueue), (void**) &queue);  if (NS_SUCCEEDED(rv)) {    rv = queue->Init();    if (NS_FAILED(rv)) {      NS_RELEASE(queue);      queue = 0;  // redundant, but makes me feel better    }  }	  *aQueue = queue;  return rv;}