Index: sky/examples/rendering/touch_demo.dart |
diff --git a/sky/examples/rendering/touch_demo.dart b/sky/examples/rendering/touch_demo.dart |
index 89034781ca0d1f63f70da173551247a77b2e41fe..ad57c30242efae19b33dfeb585441f0dec73ab19 100644 |
--- a/sky/examples/rendering/touch_demo.dart |
+++ b/sky/examples/rendering/touch_demo.dart |
@@ -36,7 +36,7 @@ class Dot { |
radius = 5 + (95 * event.pressure); |
} |
- void paint(RenderObjectDisplayList canvas) { |
+ void paint(sky.Canvas canvas) { |
canvas.drawCircle(x, y, radius, _paint); |
} |
} |
@@ -69,7 +69,7 @@ class RenderTouchDemo extends RenderBox { |
size = constraints.constrain(Size.infinite); |
} |
- void paint(RenderObjectDisplayList canvas) { |
+ void paint(sky.Canvas canvas) { |
Paint white = new Paint()..color = const Color(0xFFFFFFFF); |
canvas.drawRect(new Rect.fromSize(size), white); |
for (Dot dot in dots.values) |