if (mQueue) { nsCOMPtr<nsPIEventQueueChain> ourChain(do_QueryInterface(mQueue)); if (ourChain) ourChain->GetYoungestActive(&answer); else { NS_ADDREF(mQueue); answer = mQueue; } } return answer;
if (mQueueStack) answer = mQueueStack->GetEventQueue(); return answer;
nsIEventQueue* EventQueueEntry::GetEventQueue(void){  nsIEventQueue* answer = NULL;  if (mQueue) {    nsCOMPtr<nsPIEventQueueChain> ourChain(do_QueryInterface(mQueue));    if (ourChain)      ourChain->GetYoungestActive(&answer);    else {      NS_ADDREF(mQueue);      answer = mQueue;    }  }  return answer;}