ReflowFixedFrame(aPresContext, aReflowState, newFrames, PR_TRUE, status);
ReflowFixedFrame(aPresContext, reflowState, newFrames, PR_TRUE, status);
ViewportFrame::IncrementalReflow(nsIPresContext&          aPresContext,                                 const nsHTMLReflowState& aReflowState){  nsIReflowCommand::ReflowType  type;  nsIFrame*                     newFrames;  PRInt32                       numFrames;  // Get the type of reflow command  aReflowState.reflowCommand->GetType(type);  // Handle each specific type  if (nsIReflowCommand::FrameAppended == type) {    // Add the frames to our list of fixed position frames    aReflowState.reflowCommand->GetChildFrame(newFrames);    NS_ASSERTION(nsnull != newFrames, "null child list");    numFrames = LengthOf(newFrames);    mFixedFrames.AppendFrames(nsnull, newFrames);  } else if (nsIReflowCommand::FrameRemoved == type) {    // Get the new frame    nsIFrame* childFrame;    aReflowState.reflowCommand->GetChildFrame(childFrame);    PRBool result = mFixedFrames.DeleteFrame(aPresContext, childFrame);    NS_ASSERTION(result, "didn't find frame to delete");  } else if (nsIReflowCommand::FrameInserted == type) {    // Get the previous sibling    nsIFrame* prevSibling;    aReflowState.reflowCommand->GetPrevSiblingFrame(prevSibling);    // Insert the new frames    aReflowState.reflowCommand->GetChildFrame(newFrames);    NS_ASSERTION(nsnull != newFrames, "null child list");    numFrames = LengthOf(newFrames);    mFixedFrames.InsertFrames(nsnull, prevSibling, newFrames);  } else {    NS_ASSERTION(PR_FALSE, "unexpected reflow type");  }  // For inserted and appended reflow commands we need to reflow the  // newly added frames  if ((nsIReflowCommand::FrameAppended == type) ||      (nsIReflowCommand::FrameInserted == type)) {    while (numFrames-- > 0) {      nsReflowStatus  status;      ReflowFixedFrame(aPresContext, aReflowState, newFrames, PR_TRUE, status);      newFrames->GetNextSibling(newFrames);    }  }  return NS_OK;}