Index: sky/examples/spinning_arabic.dart |
diff --git a/sky/examples/spinning_arabic.dart b/sky/examples/spinning_arabic.dart |
index 843c570d8eb0665f0be88d0a3bf3ee88ec21b664..e42c2f4a4586e666571ee4a6305e9285c256dfbb 100644 |
--- a/sky/examples/spinning_arabic.dart |
+++ b/sky/examples/spinning_arabic.dart |
@@ -15,7 +15,7 @@ void beginFrame(double timeStamp) { |
PictureRecorder canvas = new PictureRecorder(view.width, view.height); |
canvas.translate(view.width / 2.0, view.height / 2.0); |
canvas.rotateDegrees(delta / 10); |
- canvas.drawRect(new Rect()..setLTRB(-100.0, -100.0, 100.0, 100.0), |
+ canvas.drawRect(new Rect.fromLTRB(-100.0, -100.0, 100.0, 100.0), |
new Paint()..setARGB(255, 0, 255, 0)); |
double sin = math.sin(delta / 200); |