mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
attempting to fix HP-UX/AIX/IRIX bustage (bug 228378)
This commit is contained in:
parent
418cb1220e
commit
cd870d2172
@ -687,7 +687,8 @@ SyncFrameViewGeometryDependentProperties(nsIPresContext* aPresContext,
|
||||
}
|
||||
|
||||
// Set clipping of child views.
|
||||
vm->SetViewChildClipRegion(aView, &nsRegion(clipRect));
|
||||
nsRegion region(clipRect);
|
||||
vm->SetViewChildClipRegion(aView, ®ion);
|
||||
} else {
|
||||
// Remove clipping of child views.
|
||||
vm->SetViewChildClipRegion(aView, nsnull);
|
||||
|
@ -687,7 +687,8 @@ SyncFrameViewGeometryDependentProperties(nsIPresContext* aPresContext,
|
||||
}
|
||||
|
||||
// Set clipping of child views.
|
||||
vm->SetViewChildClipRegion(aView, &nsRegion(clipRect));
|
||||
nsRegion region(clipRect);
|
||||
vm->SetViewChildClipRegion(aView, ®ion);
|
||||
} else {
|
||||
// Remove clipping of child views.
|
||||
vm->SetViewChildClipRegion(aView, nsnull);
|
||||
|
Loading…
Reference in New Issue
Block a user