const nsStylePosition* pos = aReflowState.mStylePosition; if (!pos) { return PR_TRUE; }
const nsStylePosition* pos = rs->mStylePosition;
HaveAutoWidth(const nsHTMLReflowState& aReflowState){  if (NS_UNCONSTRAINEDSIZE == aReflowState.mComputedWidth) {    return PR_TRUE;  }  const nsStylePosition* pos = aReflowState.mStylePosition;  if (!pos) {    return PR_TRUE;  }  for (;;) {    nsStyleUnit widthUnit = pos->mWidth.GetUnit();    if (eStyleUnit_Auto == widthUnit) {      return PR_TRUE;    }    if (eStyleUnit_Inherit != widthUnit) {      break;    }    const nsHTMLReflowState* prs = (const nsHTMLReflowState*)      aReflowState.parentReflowState;    if (!prs) {      return PR_TRUE;    }    pos = prs->mStylePosition;    if (!pos) {      return PR_TRUE;    }  }  return PR_FALSE;}