bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.

This commit is contained in:
karnaze@netscape.com
2001-09-19 12:35:19 +00:00
parent d7046adb91
commit 5b7e018561
173 changed files with 853 additions and 585 deletions

View File

@@ -114,10 +114,11 @@ public:
return NS_OK;
}
NS_IMETHOD Paint(nsIPresContext* aPresContext,
NS_IMETHOD Paint(nsIPresContext* aPresContext,
nsIRenderingContext& aRenderingContext,
const nsRect& aDirtyRect,
nsFramePaintLayer aWhichLayer);
const nsRect& aDirtyRect,
nsFramePaintLayer aWhichLayer,
PRUint32 aFlags);
// nsIScrollPositionListener
NS_IMETHOD ScrollPositionWillChange(nsIScrollableView* aScrollable, nscoord aX, nscoord aY);
@@ -386,10 +387,11 @@ CanvasFrame::DrawDottedRect(nsIRenderingContext& aRenderingContext, nsRect& aRec
NS_IMETHODIMP
CanvasFrame::Paint(nsIPresContext* aPresContext,
CanvasFrame::Paint(nsIPresContext* aPresContext,
nsIRenderingContext& aRenderingContext,
const nsRect& aDirtyRect,
nsFramePaintLayer aWhichLayer)
const nsRect& aDirtyRect,
nsFramePaintLayer aWhichLayer,
PRUint32 aFlags)
{
if (NS_FRAME_PAINT_LAYER_BACKGROUND == aWhichLayer) {
SetDefaultBackgroundColor(aPresContext);