nsIReflowCommand::ReflowType RCType; nsIReflowCommand::ReflowType queuedRCType;
nsReflowType RCType; nsReflowType queuedRCType;
PresShell::AlreadyInQueue(nsIReflowCommand* aReflowCommand,                          nsVoidArray&      aQueue){  PRInt32 i, n = aQueue.Count();  nsIFrame* targetFrame;  PRBool inQueue = PR_FALSE;      if (NS_SUCCEEDED(aReflowCommand->GetTarget(targetFrame))) {    // Iterate over the reflow commands and compare the targeted frames.    for (i = 0; i < n; i++) {      nsIReflowCommand* rc = (nsIReflowCommand*) aQueue.ElementAt(i);      if (rc) {        nsIFrame* targetOfQueuedRC;        if (NS_SUCCEEDED(rc->GetTarget(targetOfQueuedRC))) {          nsIReflowCommand::ReflowType RCType;          nsIReflowCommand::ReflowType queuedRCType;          aReflowCommand->GetType(RCType);          rc->GetType(queuedRCType);          if (targetFrame == targetOfQueuedRC &&            RCType == queuedRCType) {            #ifdef DEBUG            if (VERIFY_REFLOW_NOISY_RC & gVerifyReflowFlags) {              printf("*** PresShell::AlreadyInQueue(): Discarding reflow command: this=%p\n", (void*)this);              aReflowCommand->List(stdout);            }#endif            inQueue = PR_TRUE;            break;          }         }      }    }  }  return inQueue;}