Bug 456152 - slight API cleanup for nsCSSRendering::PaintBackground; r+sr=roc
This commit is contained in:
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user