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

Unified Diff: sky/examples/game/lib/sprite.dart

Issue 1190123003: Decouple Canvas from DisplayList and map Picture and PictureRecorder more directly to their Skia co… (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebased version of previous patch 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
Index: sky/examples/game/lib/sprite.dart
diff --git a/sky/examples/game/lib/sprite.dart b/sky/examples/game/lib/sprite.dart
index a58168f18ee5977a8d771b62238251828a534ab0..6f0e5a786ad5fbd399335169f41242e19b82aa54 100644
--- a/sky/examples/game/lib/sprite.dart
+++ b/sky/examples/game/lib/sprite.dart
@@ -50,7 +50,7 @@ class Sprite extends NodeWithSize {
_opacity = opacity;
}
- void paint(PictureRecorder canvas) {
+ void paint(RenderCanvas canvas) {
canvas.save();
// Account for pivot point

Powered by Google App Engine
This is Rietveld 408576698