Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(600)

Unified Diff: sky/sdk/lib/widgets/ink_well.dart

Issue 1217933002: Rename RenderCanvas to PaintingCanvas to avoid confusion with other classes that inherit from Rende… (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/sdk/lib/rendering/stack.dart ('k') | sky/sdk/lib/widgets/scaffold.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4d33f1fc27bfaccea2e90f8ac0b41d5eb5706686..d00530d1f2bbc4d878288ecfd058c36aab4aec25 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(RenderCanvas canvas) {
+ void paint(PaintingCanvas 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, _radius.value, paint);
@@ -88,7 +88,7 @@ class RenderInkWell extends RenderProxyBox {
markNeedsPaint();
}
- void paint(RenderCanvas canvas, Offset offset) {
+ void paint(PaintingCanvas canvas, Offset offset) {
if (!_splashes.isEmpty) {
canvas.save();
canvas.translate(offset.dx, offset.dy);
« no previous file with comments | « sky/sdk/lib/rendering/stack.dart ('k') | sky/sdk/lib/widgets/scaffold.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698