nsBlockFrame::Paint(nsIPresContext&      aPresContext, nsIRenderingContext& aRenderingContext, const nsRect&        aDirtyRect)
BulletFrame::Paint(nsIPresContext&      aCX, nsIRenderingContext& aRenderingContext, const nsRect&        aDirtyRect)
nsBlockFrame::Paint(nsIPresContext&      aPresContext,                       nsIRenderingContext& aRenderingContext,                       const nsRect&        aDirtyRect){  // Paint our background and border  const nsStyleDisplay* disp =    (const nsStyleDisplay*)mStyleContext->GetStyleData(eStyleStruct_Display);  if (disp->mVisible && mRect.width && mRect.height) {    PRIntn skipSides = GetSkipSides();    const nsStyleColor* color =      (const nsStyleColor*)mStyleContext->GetStyleData(eStyleStruct_Color);    const nsStyleSpacing* spacing =      (const nsStyleSpacing*)mStyleContext->GetStyleData(eStyleStruct_Spacing);    nsRect  rect(0, 0, mRect.width, mRect.height);    nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,                                    aDirtyRect, rect, *color);    nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this,                                aDirtyRect, rect, *spacing, skipSides);  }  PaintChildren(aPresContext, aRenderingContext, aDirtyRect);  if (nsIFrame::GetShowFrameBorders()) {    nsIView* view;    GetView(view);    if (nsnull != view) {      aRenderingContext.SetColor(NS_RGB(0,0,255));    }    else {      aRenderingContext.SetColor(NS_RGB(255,0,0));    }    aRenderingContext.DrawRect(0, 0, mRect.width, mRect.height);  }  return NS_OK;}