if (nsLayoutAtoms::tableFrame == aParentFrame->GetType()) { *aAdjParentFrame = aParentFrame->GetParent(); }
*aAdjParentFrame = AdjustCaptionParentFrame(aParentFrame);
GetCaptionAdjustedParent(nsIFrame*        aParentFrame,                         const nsIFrame*  aChildFrame,                         nsIFrame**       aAdjParentFrame){  *aAdjParentFrame = aParentFrame;  PRBool haveCaption = PR_FALSE;  if (nsLayoutAtoms::tableCaptionFrame == aChildFrame->GetType()) {    haveCaption = PR_TRUE;    if (nsLayoutAtoms::tableFrame == aParentFrame->GetType()) {      *aAdjParentFrame = aParentFrame->GetParent();    }  }  return haveCaption;}