inline PRBool HaveFixedSize(const nsHTMLReflowState& aReflowState) { NS_ASSERTION(aReflowState.mStylePosition, "crappy reflowState - null stylePosition"); return HaveFixedSize(*(aReflowState.mStylePosition));
static PRBool HaveFixedSize(const struct nsStylePosition& aStylePosition) {    nsStyleUnit widthUnit = aStylePosition.mWidth.GetUnit(); nsStyleUnit heightUnit = aStylePosition.mHeight.GetUnit();  return ((widthUnit  == eStyleUnit_Coord || widthUnit  == eStyleUnit_Percent) && (heightUnit == eStyleUnit_Coord || heightUnit == eStyleUnit_Percent));
inline PRBool HaveFixedSize(const nsHTMLReflowState& aReflowState){   NS_ASSERTION(aReflowState.mStylePosition, "crappy reflowState - null stylePosition");  return HaveFixedSize(*(aReflowState.mStylePosition)); }