nsTableFrame::PaintChildren(nsIPresContext*      aPresContext,
nsTableFrame::PaintChildren(nsPresContext*      aPresContext,
nsTableFrame::PaintChildren(nsIPresContext*      aPresContext,                            nsIRenderingContext& aRenderingContext,                            const nsRect&        aDirtyRect,                            nsFramePaintLayer    aWhichLayer,                            PRUint32             aFlags){  PRUint8 overflow = GetStyleDisplay()->mOverflow;  PRBool clip = overflow == NS_STYLE_OVERFLOW_HIDDEN ||                overflow == NS_STYLE_OVERFLOW_SCROLLBARS_NONE;  // If overflow is hidden then set the clip rect so that children don't  // leak out of us. Note that because overflow'-clip' only applies to  // the content area we do this after painting the border and background  if (clip) {    aRenderingContext.PushState();    SetOverflowClipRect(aRenderingContext);  }  nsHTMLContainerFrame::PaintChildren(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer, aFlags);  if (clip) {    PRBool clipState;    aRenderingContext.PopState(clipState);  }}