Changed PaintBorder() to use the (x,y) that's passed in

git-svn-id: svn://10.0.0.236/trunk@6152 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1998-07-22 05:02:07 +00:00
parent cc38f9f94a
commit 878c1d1350
15 changed files with 54 additions and 43 deletions

View File

@@ -1103,11 +1103,11 @@ NS_METHOD nsTableFrame::Paint(nsIPresContext& aPresContext,
const nsStyleColor* color =
(const nsStyleColor*)mStyleContext->GetStyleData(eStyleStruct_Color);
nsRect rect(0, 0, mRect.width, mRect.height);
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,
aDirtyRect, mRect, *color);
aDirtyRect, rect, *color);
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this,
aDirtyRect, nsRect(0, 0, mRect.width, mRect.height),
*spacing, 0);
aDirtyRect, rect, *spacing, 0);
}
// for debug...