Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron

This commit is contained in:
roc+@cs.cmu.edu
2004-03-10 03:09:05 +00:00
parent eda49694ac
commit bfa2b2d5c6
65 changed files with 352 additions and 742 deletions

View File

@@ -96,15 +96,6 @@ nsButtonFrameRenderer::isDisabled()
return PR_FALSE;
}
void
nsButtonFrameRenderer::Redraw(nsIPresContext* aPresContext)
{
nsRect rect = mFrame->GetRect();
rect.x = 0;
rect.y = 0;
mFrame->Invalidate(aPresContext, rect, PR_FALSE);
}
void
nsButtonFrameRenderer::PaintButton (nsIPresContext* aPresContext,
nsIRenderingContext& aRenderingContext,