mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Back out the change from bug 230118 since bug 228378 makes it unnecessary.
This commit is contained in:
parent
1bffaa3cce
commit
c16dc4600a
@ -2879,8 +2879,7 @@ PRBool nsViewManager::CanScrollWithBitBlt(nsView* aView)
|
||||
// code still does the right thing. Yay for the display list based
|
||||
// approach!)
|
||||
|
||||
nsRegion region(r);
|
||||
OptimizeDisplayList(&displayList, region, finalTransparentRect, opaqueRegion, PR_TRUE);
|
||||
OptimizeDisplayList(&displayList, nsRegion(r), finalTransparentRect, opaqueRegion, PR_TRUE);
|
||||
|
||||
PRBool anyUnscrolledViews = PR_FALSE;
|
||||
PRBool anyUnblittableViews = PR_FALSE;
|
||||
@ -3286,8 +3285,7 @@ NS_IMETHODIMP nsViewManager::Display(nsIView* aView, nscoord aX, nscoord aY, con
|
||||
|
||||
// Paint the view. The clipping rect was set above set don't clip again.
|
||||
//aView->Paint(*localcx, trect, NS_VIEW_FLAG_CLIP_SET, result);
|
||||
nsRegion region(trect);
|
||||
RenderViews(view, *localcx, region, PR_FALSE);
|
||||
RenderViews(view, *localcx, nsRegion(trect), PR_FALSE);
|
||||
|
||||
NS_RELEASE(localcx);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user