Index: sky/sdk/lib/widgets/ink_well.dart |
diff --git a/sky/sdk/lib/widgets/ink_well.dart b/sky/sdk/lib/widgets/ink_well.dart |
index e40c37014684c679678985b08aa11ce3da0ee928..7c2f9d3ca983f7f3782c979835efba580c29025a 100644 |
--- a/sky/sdk/lib/widgets/ink_well.dart |
+++ b/sky/sdk/lib/widgets/ink_well.dart |
@@ -52,7 +52,7 @@ class InkSplash { |
well.markNeedsPaint(); |
} |
- void paint(RenderObjectDisplayList canvas) { |
+ void paint(RenderCanvas canvas) { |
int opacity = (_kSplashInitialOpacity * (1.0 - (_radius.value / _targetRadius))).floor(); |
sky.Paint paint = new sky.Paint()..color = new sky.Color(opacity << 24); |
canvas.drawCircle(position.x, position.y, _radius.value, paint); |
@@ -88,7 +88,7 @@ class RenderInkWell extends RenderProxyBox { |
markNeedsPaint(); |
} |
- void paint(RenderObjectDisplayList canvas) { |
+ void paint(RenderCanvas canvas) { |
if (!_splashes.isEmpty) { |
canvas.save(); |
canvas.clipRect(new Rect.fromSize(size)); |