Try to fix bustage from bug 371528

This commit is contained in:
sharparrow1%yahoo.com 2007-02-25 23:23:09 +00:00
parent 884351335b
commit 89beb752ef

View File

@ -628,8 +628,9 @@ nsSimplePageSequenceFrame::PrintNextPage()
GetPresContext()->PresShell()->
CreateRenderingContext(mCurrentPageFrame,
getter_AddRefs(renderingContext));
nsRegion drawingRegion(nsRect(nsPoint(0, 0),
mCurrentPageFrame->GetSize()));
nsRect drawingRect(nsPoint(0, 0),
mCurrentPageFrame->GetSize());
nsRegion drawingRegion(drawingRect);
nsLayoutUtils::PaintFrame(renderingContext, mCurrentPageFrame,
drawingRegion, NS_RGBA(0,0,0,0));