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

Unified Diff: sky/sdk/example/game/lib/sprite_box.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/sprite.dart ('k') | sky/sdk/example/rendering/sector_layout.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_box.dart
diff --git a/sky/sdk/example/game/lib/sprite_box.dart b/sky/sdk/example/game/lib/sprite_box.dart
index d62cbd65126edf00a291bae9974f6dcc6e304ce6..943d5fcbbb72369eaceb26e3d24adc62935f7a9b 100644
--- a/sky/sdk/example/game/lib/sprite_box.dart
+++ b/sky/sdk/example/game/lib/sprite_box.dart
@@ -251,7 +251,7 @@ class SpriteBox extends RenderBox {
_rootNode._invalidateToBoxTransformMatrix();
}
- void paint(RenderCanvas canvas, Offset offset) {
+ void paint(PaintingCanvas canvas, Offset offset) {
canvas.save();
// Move to correct coordinate space before drawing
« no previous file with comments | « sky/sdk/example/game/lib/sprite.dart ('k') | sky/sdk/example/rendering/sector_layout.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698