Index: sky/sdk/lib/rendering/box.dart |
diff --git a/sky/sdk/lib/rendering/box.dart b/sky/sdk/lib/rendering/box.dart |
index e973944128b7251372e3e7b5e5a890bb44cf3f27..2cb37e62f33908e59aedd95c23e22f856bbd959c 100644 |
--- a/sky/sdk/lib/rendering/box.dart |
+++ b/sky/sdk/lib/rendering/box.dart |
@@ -178,7 +178,7 @@ class BoxConstraints { |
return result; |
} |
- bool get isInfinite => maxWidth >= double.INFINITY || maxHeight >= double.INFINITY; |
+ bool get isInfinite => maxWidth >= double.INFINITY && maxHeight >= double.INFINITY; |
int get hashCode { |
int value = 373; |