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

Unified Diff: sky/sdk/example/rendering/touch_demo.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/example/rendering/sector_layout.dart ('k') | sky/sdk/lib/rendering/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/example/rendering/touch_demo.dart
diff --git a/sky/sdk/example/rendering/touch_demo.dart b/sky/sdk/example/rendering/touch_demo.dart
index bbb8a11ba181d46053c997c6ca94c0efb4eacf6a..edd6f129f07306e764fe0eb3069e032230496624 100644
--- a/sky/sdk/example/rendering/touch_demo.dart
+++ b/sky/sdk/example/rendering/touch_demo.dart
@@ -33,7 +33,7 @@ class Dot {
radius = 5 + (95 * event.pressure);
}
- void paint(RenderCanvas canvas, Offset offset) {
+ void paint(PaintingCanvas canvas, Offset offset) {
canvas.drawCircle(position + offset, radius, _paint);
}
}
@@ -68,7 +68,7 @@ class RenderTouchDemo extends RenderBox {
size = constraints.biggest;
}
- void paint(RenderCanvas canvas, Offset offset) {
+ void paint(PaintingCanvas canvas, Offset offset) {
Paint white = new Paint()
..color = const Color(0xFFFFFFFF);
canvas.drawRect(offset & size, white);
« no previous file with comments | « sky/sdk/example/rendering/sector_layout.dart ('k') | sky/sdk/lib/rendering/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698