float p2t = aPresContext->GetPixelsToTwips();   if (aReflowState.HaveFixedContentWidth()) { aDesiredSize.width = aReflowState.minWidth; } else { aDesiredSize.width = NSIntPixelsToTwips(200, p2t); } if (aReflowState.HaveFixedContentHeight()) { aDesiredSize.height = aReflowState.minHeight; } else { aDesiredSize.height = NSIntPixelsToTwips(200, p2t); } aDesiredSize.ascent = aDesiredSize.height;
NS_ASSERTION(0, "this should never be called"); aDesiredSize.width   = 0; aDesiredSize.height  = 0; aDesiredSize.ascent  = 0;
nsHTMLFrameOuterFrame::GetDesiredSize(nsIPresContext* aPresContext,                                      const nsHTMLReflowState& aReflowState,                                      nsHTMLReflowMetrics& aDesiredSize){  // <frame> processing does not use this routine, only <iframe>  float p2t = aPresContext->GetPixelsToTwips();  // XXX this needs to be changed from (200,200) to a better default for inline frames  if (aReflowState.HaveFixedContentWidth()) {    aDesiredSize.width = aReflowState.minWidth;  }  else {    aDesiredSize.width = NSIntPixelsToTwips(200, p2t);  }  if (aReflowState.HaveFixedContentHeight()) {    aDesiredSize.height = aReflowState.minHeight;  }  else {    aDesiredSize.height = NSIntPixelsToTwips(200, p2t);  }  aDesiredSize.ascent = aDesiredSize.height;  aDesiredSize.descent = 0;}