attempting to fix HP-UX/AIX/IRIX bustage (bug 228378)

This commit is contained in:
bryner%brianryner.com 2004-01-11 00:24:37 +00:00
parent 418cb1220e
commit cd870d2172
2 changed files with 4 additions and 2 deletions

View File

@ -687,7 +687,8 @@ SyncFrameViewGeometryDependentProperties(nsIPresContext* aPresContext,
}
// Set clipping of child views.
vm->SetViewChildClipRegion(aView, &nsRegion(clipRect));
nsRegion region(clipRect);
vm->SetViewChildClipRegion(aView, &region);
} else {
// Remove clipping of child views.
vm->SetViewChildClipRegion(aView, nsnull);

View File

@ -687,7 +687,8 @@ SyncFrameViewGeometryDependentProperties(nsIPresContext* aPresContext,
}
// Set clipping of child views.
vm->SetViewChildClipRegion(aView, &nsRegion(clipRect));
nsRegion region(clipRect);
vm->SetViewChildClipRegion(aView, &region);
} else {
// Remove clipping of child views.
vm->SetViewChildClipRegion(aView, nsnull);