NS_IF_RELEASE(rcx);
PresShell::ProcessReflowCommands(){  if (0 != mReflowCommands.Count()) {    nsHTMLReflowMetrics   desiredSize(nsnull);    nsIRenderingContext*  rcx;    CreateRenderingContext(mRootFrame, rcx);    while (0 != mReflowCommands.Count()) {      nsIReflowCommand* rc = (nsIReflowCommand*) mReflowCommands.ElementAt(0);      mReflowCommands.RemoveElementAt(0);      // Dispatch the reflow command      nsSize          maxSize;      mRootFrame->GetSize(maxSize);#ifdef NS_DEBUG      nsIReflowCommand::ReflowType type;      rc->GetType(type);      NS_FRAME_LOG(NS_FRAME_TRACE_CALLS,         ("PresShell::ProcessReflowCommands: begin reflow command type=%d",          type));#endif      rc->Dispatch(*mPresContext, desiredSize, maxSize, *rcx);      NS_RELEASE(rc);      NS_FRAME_LOG(NS_FRAME_TRACE_CALLS,         ("PresShell::ProcessReflowCommands: end reflow command"));    }    // Place and size the root frame    mRootFrame->SizeTo(desiredSize.width, desiredSize.height);#ifdef NS_DEBUG    if (nsIFrame::GetVerifyTreeEnable()) {      mRootFrame->VerifyTree();    }    if (GetVerifyReflowEnable()) {      VerifyIncrementalReflow();    }#endif    NS_IF_RELEASE(rcx);  }}