Index: sky/examples/raw/touch_demo.dart |
diff --git a/sky/examples/raw/touch_demo.dart b/sky/examples/raw/touch_demo.dart |
index 180c327fd9035c46dd46034f7e6d6ab3d206b2e3..c6ece943f23128660550c539b9c71ec0d8a357d9 100644 |
--- a/sky/examples/raw/touch_demo.dart |
+++ b/sky/examples/raw/touch_demo.dart |
@@ -62,7 +62,7 @@ class RenderTouchDemo extends RenderBox { |
} |
void performLayout() { |
- size = constraints.constrain(new Size.infinite()); |
+ size = constraints.constrain(Size.infinite); |
} |
void paint(RenderObjectDisplayList canvas) { |