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
@@ -286,7 +286,8 @@ void nsTableRowGroupFrame::PaintChildren(nsIPresContext& aPresContext,
aRenderingContext.PushState();
aRenderingContext.Translate(kidRect.x, kidRect.y);
kid->Paint(aPresContext, aRenderingContext, kidDamageArea, aWhichLayer);
if ((eFramePaintLayer_Overlay == aWhichLayer) && GetShowFrameBorders()) {
if ((NS_FRAME_PAINT_LAYER_DEBUG == aWhichLayer) &&
GetShowFrameBorders()) {
aRenderingContext.SetColor(NS_RGB(255,0,0));
aRenderingContext.DrawRect(0, 0, kidRect.width, kidRect.height);
}