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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user