PaintBorder() modified to accept styleContext

This commit is contained in:
harishd%netscape.com 1999-01-22 22:26:29 +00:00
Родитель 5d18d3400f
Коммит a5933ee601
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -581,7 +581,7 @@ nsImageFrame::DisplayAltFeedback(nsIPresContext& aPresContext,
aPresContext.GetScaledPixelsToTwips(p2t);
nsRecessedBorder recessedBorder(NSIntPixelsToTwips(1, p2t));
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this, inner,
inner, recessedBorder, 0);
inner, recessedBorder, mStyleContext, 0);
// Adjust the inner rect to account for the one pixel recessed border,
// and a six pixel padding on each edge

Просмотреть файл

@ -581,7 +581,7 @@ nsImageFrame::DisplayAltFeedback(nsIPresContext& aPresContext,
aPresContext.GetScaledPixelsToTwips(p2t);
nsRecessedBorder recessedBorder(NSIntPixelsToTwips(1, p2t));
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this, inner,
inner, recessedBorder, 0);
inner, recessedBorder, mStyleContext, 0);
// Adjust the inner rect to account for the one pixel recessed border,
// and a six pixel padding on each edge