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

Unified Diff: sky/sdk/example/game/lib/sprite.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/game/lib/node_with_size.dart ('k') | sky/sdk/example/game/lib/sprite_box.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/example/game/lib/sprite.dart
diff --git a/sky/sdk/example/game/lib/sprite.dart b/sky/sdk/example/game/lib/sprite.dart
index 80990f484c6e289bc21f6ab4c49fbb0679858761..bb022262f4de862054189b699eaf8d2daa279f38 100644
--- a/sky/sdk/example/game/lib/sprite.dart
+++ b/sky/sdk/example/game/lib/sprite.dart
@@ -64,7 +64,7 @@ class Sprite extends NodeWithSize {
_opacity = opacity;
}
- void paint(RenderCanvas canvas) {
+ void paint(PaintingCanvas canvas) {
canvas.save();
// Account for pivot point
« no previous file with comments | « sky/sdk/example/game/lib/node_with_size.dart ('k') | sky/sdk/example/game/lib/sprite_box.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698