nsRect  rect(kidReflowState.computedOffsets.left + kidReflowState.mComputedMargin.left, kidReflowState.computedOffsets.top + kidReflowState.mComputedMargin.top,
nsRect  rect(kidReflowState.mComputedOffsets.left + kidReflowState.mComputedMargin.left, kidReflowState.mComputedOffsets.top + kidReflowState.mComputedMargin.top,
ViewportFrame::ReflowFixedFrame(nsIPresContext&          aPresContext,                                const nsHTMLReflowState& aReflowState,                                nsIFrame*                aKidFrame,                                PRBool                   aInitialReflow,                                nsReflowStatus&          aStatus) const{  // Reflow the frame  nsIHTMLReflow* htmlReflow;  nsresult       rv;  rv = aKidFrame->QueryInterface(kIHTMLReflowIID, (void**)&htmlReflow);  if (NS_SUCCEEDED(rv)) {    htmlReflow->WillReflow(aPresContext);        nsHTMLReflowMetrics kidDesiredSize(nsnull);    nsSize              availSize(aReflowState.availableWidth, NS_UNCONSTRAINEDSIZE);    nsHTMLReflowState   kidReflowState(aPresContext, aReflowState, aKidFrame,                                       availSize);        // If it's the initial reflow, then override the reflow reason. This is    // used when frames are inserted incrementally    if (aInitialReflow) {      kidReflowState.reason = eReflowReason_Initial;    }        htmlReflow->Reflow(aPresContext, kidDesiredSize, kidReflowState, aStatus);    // XXX If the child had a fixed height, then make sure it respected it...    if (NS_AUTOHEIGHT != kidReflowState.mComputedHeight) {      if (kidDesiredSize.height < kidReflowState.mComputedHeight) {        kidDesiredSize.height = kidReflowState.mComputedHeight;        kidDesiredSize.height += kidReflowState.mComputedBorderPadding.top +                                 kidReflowState.mComputedBorderPadding.bottom;      }    }    // Position the child    nsRect  rect(kidReflowState.computedOffsets.left + kidReflowState.mComputedMargin.left,                 kidReflowState.computedOffsets.top + kidReflowState.mComputedMargin.top,                 kidDesiredSize.width, kidDesiredSize.height);    aKidFrame->SetRect(rect);    htmlReflow->DidReflow(aPresContext, NS_FRAME_REFLOW_FINISHED);  }  return rv;}