nsIReflowCommand* reflowCmd; rv = NS_NewHTMLReflowCommand(&reflowCmd, this, nsIReflowCommand::ReflowDirty);
nsHTMLReflowCommand* reflowCmd; rv = NS_NewHTMLReflowCommand(&reflowCmd, this, eReflowType_ReflowDirty);
CanvasFrame::AppendFrames(nsIPresContext* aPresContext,                          nsIPresShell&   aPresShell,                          nsIAtom*        aListName,                          nsIFrame*       aFrameList){  nsresult  rv;  NS_ASSERTION(!aListName, "unexpected child list name");  NS_PRECONDITION(mFrames.IsEmpty(), "already have a child frame");  if (aListName) {    // We only support unnamed principal child list    rv = NS_ERROR_INVALID_ARG;  } else if (!mFrames.IsEmpty()) {    // We only allow a single child frame    rv = NS_ERROR_FAILURE;  } else {    // Insert the new frames#ifdef NS_DEBUG    nsFrame::VerifyDirtyBitSet(aFrameList);#endif    mFrames.AppendFrame(nsnull, aFrameList);    // Generate a reflow command to reflow the newly inserted frame    nsIReflowCommand* reflowCmd;    rv = NS_NewHTMLReflowCommand(&reflowCmd, this, nsIReflowCommand::ReflowDirty);    if (NS_SUCCEEDED(rv)) {      aPresShell.AppendReflowCommand(reflowCmd);      NS_RELEASE(reflowCmd);    }  }  return rv;}