ReflowDirtyChild(GetPresContext()->PresShell(), nsnull);
if (aGenerateReflowCommands) {  nsIReflowCommand* reflowCmd = nsnull; rv = NS_NewHTMLReflowCommand(&reflowCmd, this, nsIReflowCommand::ReflowDirty); if (NS_SUCCEEDED(rv)) { aPresShell.AppendReflowCommand(reflowCmd); NS_RELEASE(reflowCmd); } }
nsInlineFrame::AppendFrames(nsIAtom*        aListName,                            nsIFrame*       aFrameList){  if (nsnull != aListName) {    return NS_ERROR_INVALID_ARG;  }  if (aFrameList) {    mFrames.AppendFrames(this, aFrameList);    // Ask the parent frame to reflow me.    ReflowDirtyChild(GetPresContext()->PresShell(), nsnull);  }  return NS_OK;}