nsReflowType* aCmdType, PRBool        aProcessDummyLayoutRequest)
nsReflowType* aCmdType)
PresShell::CancelReflowCommandInternal(nsIFrame*     aTargetFrame,                                        nsReflowType* aCmdType,                                       PRBool        aProcessDummyLayoutRequest){  PRInt32 i, n = mReflowCommands.Count();  for (i = 0; i < n; i++) {    nsHTMLReflowCommand* rc = (nsHTMLReflowCommand*) mReflowCommands.ElementAt(i);    if (rc && rc->GetTarget() == aTargetFrame &&        (!aCmdType || rc->Type() == *aCmdType)) {#ifdef DEBUG      if (VERIFY_REFLOW_NOISY_RC & gVerifyReflowFlags) {        printf("PresShell: removing rc=%p for frame ", (void*)rc);        nsFrame::ListTag(stdout, aTargetFrame);        printf("\n");      }#endif      mReflowCommands.RemoveElementAt(i);      ReflowCommandRemoved(rc);      delete rc;      n--;      i--;    }  }  if (aProcessDummyLayoutRequest) {    DoneRemovingReflowCommands();  }  return NS_OK;}