Bug 456152 - slight API cleanup for nsCSSRendering::PaintBackground; r+sr=roc

This commit is contained in:
Zack Weinberg
2008-09-24 06:07:22 +02:00
parent 141d743bcc
commit 6e07dbd270
10 changed files with 20 additions and 34 deletions

View File

@@ -260,7 +260,6 @@ nsFieldSetFrame::PaintBorderBackground(nsIRenderingContext& aRenderingContext,
{
PRIntn skipSides = GetSkipSides();
const nsStyleBorder* borderStyle = GetStyleBorder();
const nsStylePadding* paddingStyle = GetStylePadding();
nscoord topBorder = borderStyle->GetActualBorderWidth(NS_SIDE_TOP);
nscoord yoff = 0;
@@ -274,8 +273,7 @@ nsFieldSetFrame::PaintBorderBackground(nsIRenderingContext& aRenderingContext,
nsRect rect(aPt.x, aPt.y + yoff, mRect.width, mRect.height - yoff);
nsCSSRendering::PaintBackground(presContext, aRenderingContext, this,
aDirtyRect, rect, *borderStyle,
*paddingStyle, PR_TRUE);
aDirtyRect, rect, PR_TRUE);
if (mLegendFrame) {