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