Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil

git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mcafee%netscape.com
2001-01-25 02:58:12 +00:00
parent d75dc86c93
commit 644a6ffc68
116 changed files with 2945 additions and 4347 deletions

View File

@@ -925,9 +925,9 @@ nsresult nsFormControlFrame::PaintSpecialBorder(nsIPresContext* aPresContext,
if (specialBorderStyle){
// paint the border
const nsStyleBorder* border = (const nsStyleBorder*)specialBorderStyle ->GetStyleData(eStyleStruct_Border);
const nsStyleSpacing* spacing = (const nsStyleSpacing*)specialBorderStyle ->GetStyleData(eStyleStruct_Spacing);
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, aFrame,
aDirtyRect, aRect, *border, specialBorderStyle, 0);
aDirtyRect, aRect, *spacing, specialBorderStyle, 0);
}
} else {