mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 13:25:00 +00:00
Fix infinite loop when |shrinkage| goes below zero. Blocker for mach-o
build. r=dbaron/sr=blake. bug#116240
This commit is contained in:
parent
1dcd7423ca
commit
4c5dccf906
@ -1799,7 +1799,7 @@ void nsCSSRendering::DrawCompositeSide(nsIRenderingContext& aRenderingContext,
|
||||
endRadius = aBorderRadii[3];
|
||||
}
|
||||
|
||||
while (shrinkage) {
|
||||
while (shrinkage > 0) {
|
||||
nscoord xshrink = 0;
|
||||
nscoord yshrink = 0;
|
||||
nscoord widthshrink = 0;
|
||||
|
@ -1799,7 +1799,7 @@ void nsCSSRendering::DrawCompositeSide(nsIRenderingContext& aRenderingContext,
|
||||
endRadius = aBorderRadii[3];
|
||||
}
|
||||
|
||||
while (shrinkage) {
|
||||
while (shrinkage > 0) {
|
||||
nscoord xshrink = 0;
|
||||
nscoord yshrink = 0;
|
||||
nscoord widthshrink = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user