Bug 228378. Clean up nsRegion. patch by Dainis Jonitis. r+sr=roc
This commit is contained in:
@@ -687,9 +687,7 @@ SyncFrameViewGeometryDependentProperties(nsIPresContext* aPresContext,
|
||||
}
|
||||
|
||||
// Set clipping of child views.
|
||||
nsRegion region;
|
||||
region.Copy(nsRectFast(clipRect));
|
||||
vm->SetViewChildClipRegion(aView, ®ion);
|
||||
vm->SetViewChildClipRegion(aView, &nsRegion(clipRect));
|
||||
} else {
|
||||
// Remove clipping of child views.
|
||||
vm->SetViewChildClipRegion(aView, nsnull);
|
||||
|
||||
Reference in New Issue
Block a user