mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Printing now calls RenderViews instead of just the top view. R=rods. b= 44547
This commit is contained in:
parent
345b4e99dd
commit
835c49fe98
@ -2249,7 +2249,8 @@ NS_IMETHODIMP nsViewManager2::Display(nsIView* aView)
|
||||
localcx->SetClipRect(trect, nsClipCombine_kReplace, result);
|
||||
|
||||
// Paint the view. The clipping rect was set above set don't clip again.
|
||||
aView->Paint(*localcx, trect, NS_VIEW_FLAG_CLIP_SET, result);
|
||||
//aView->Paint(*localcx, trect, NS_VIEW_FLAG_CLIP_SET, result);
|
||||
RenderViews(aView,*localcx,trect,result);
|
||||
|
||||
// XXX Reset the view's origin
|
||||
aView->SetPosition(x, y);
|
||||
|
Loading…
Reference in New Issue
Block a user