Whacked paint methods to use new constants

This commit is contained in:
kipp@netscape.com
1999-03-26 00:39:35 +00:00
parent 544351a4a6
commit 74c9fdfeaf
48 changed files with 74 additions and 72 deletions
+2 -2
View File
@@ -1568,7 +1568,7 @@ nsHTMLFramesetBorderFrame::Paint(nsIPresContext& aPresContext,
const nsRect& aDirtyRect,
nsFramePaintLayer aWhichLayer)
{
if (eFramePaintLayer_Content != aWhichLayer) {
if (NS_FRAME_PAINT_LAYER_FOREGROUND != aWhichLayer) {
return NS_OK;
}
//printf("border frame paint %X (%d,%d,%d,%d) \n", this, aDirtyRect.x, aDirtyRect.y, aDirtyRect.width, aDirtyRect.height);
@@ -1740,7 +1740,7 @@ nsHTMLFramesetBlankFrame::Paint(nsIPresContext& aPresContext,
const nsRect& aDirtyRect,
nsFramePaintLayer aWhichLayer)
{
if (eFramePaintLayer_Content != aWhichLayer) {
if (NS_FRAME_PAINT_LAYER_FOREGROUND != aWhichLayer) {
return NS_OK;
}
nscolor white = NS_RGB(255,255,255);