mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Try to fix bustage from bug 371528
This commit is contained in:
parent
884351335b
commit
89beb752ef
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user