PRBool GetCaptionAdjustedParent(nsIFrame*        aParentFrame, const nsIFrame*  aChildFrame, nsIFrame**       aAdjParentFrame)
GetCaptionAdjustedParent(nsIFrame*        aParentFrame, const nsIFrame*  aChildFrame, nsIFrame**       aAdjParentFrame)
PRBool GetCaptionAdjustedParent(nsIFrame*        aParentFrame,                                const nsIFrame*  aChildFrame,                                nsIFrame**       aAdjParentFrame){  *aAdjParentFrame = aParentFrame;  PRBool haveCaption = PR_FALSE;  nsCOMPtr<nsIAtom> childFrameType;  aChildFrame->GetFrameType(getter_AddRefs(childFrameType));  if (nsLayoutAtoms::tableCaptionFrame == childFrameType.get()) {     haveCaption = PR_TRUE;    nsCOMPtr<nsIAtom> parentFrameType;    aParentFrame->GetFrameType(getter_AddRefs(parentFrameType));    if (nsLayoutAtoms::tableFrame == parentFrameType.get()) {      aParentFrame->GetParent(aAdjParentFrame);    }  }  return haveCaption;}