if (nsnull != FirstChild) {
if (nsnull != firstChild) {
nsHTMLFrameOuterFrame::GetBorderWidth(nsIPresContext& aPresContext){  if (IsInline()) {    nsIFrame* firstChild = mFrames.FirstChild();    if (nsnull != FirstChild) {      if (eFrameborder_No != ((nsHTMLFrameInnerFrame*)firstChild)->GetFrameBorder(eCompatibility_Standard)) {        const nsStyleSpacing* spacing =          (const nsStyleSpacing*)mStyleContext->GetStyleData(eStyleStruct_Spacing);        nsStyleCoord leftBorder;        spacing->mBorder.GetLeft(leftBorder);        nsStyleUnit unit = leftBorder.GetUnit();         if (eStyleUnit_Coord == unit) {          return leftBorder.GetCoordValue();        }      }    }  }   return 0;}