nscoord maxElemWidth = aMaxElementSize.width; const nsStylePosition* stylePosition; const nsStyleText* styleText;  GetStyleData(eStyleStruct_Position, ((const nsStyleStruct *&)stylePosition)); GetStyleData(eStyleStruct_Text, ((const nsStyleStruct *&)styleText)); if (stylePosition->mWidth.GetUnit() == eStyleUnit_Coord && styleText->mWhiteSpace != NS_STYLE_WHITESPACE_NOWRAP && styleText->mWhiteSpace != NS_STYLE_WHITESPACE_PRE) {  nsAutoString nowrap; nsCOMPtr<nsIContent> cellContent; GetContent(getter_AddRefs(cellContent)); nsresult result = cellContent->GetAttr(kNameSpaceID_None, nsHTMLAtoms::nowrap, nowrap); if(NS_CONTENT_ATTR_NOT_THERE != result) {   maxElemWidth = stylePosition->mWidth.GetCoordValue(); } } mPass1MaxElementSize.width = maxElemWidth;
inline void nsTableCellFrame::SetPass1MaxElementSize(const nsSize & aMaxElementSize){   mPass1MaxElementSize.width = aMaxElementSize.width;  mPass1MaxElementSize.height = aMaxElementSize.height;}