rv = MakeNewQueue(&newQueue);
rv = MakeNewQueue(PR_GetCurrentThread(), &newQueue);
nsresult EventQueueEntry::AddQueue(void){  nsIEventQueue *newQueue = NULL;  nsresult      rv = NS_ERROR_NOT_INITIALIZED;  if (mQueue) {    rv = MakeNewQueue(&newQueue);    // add it to our chain of queues    if (NS_SUCCEEDED(rv)) {      nsCOMPtr<nsPIEventQueueChain> ourChain(do_QueryInterface(mQueue));      if (ourChain)        ourChain->AppendQueue(newQueue);      else        NS_RELEASE(newQueue);    }  }  return rv;}