Chromium Code Reviews

Unified Diff: sky/examples/game/lib/sprite_box.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.
Jump to:
View side-by-side diff with in-line comments
Index: sky/examples/game/lib/sprite_box.dart
diff --git a/sky/examples/game/lib/sprite_box.dart b/sky/examples/game/lib/sprite_box.dart
index 173b1d894de0eed2c9f5819812105858640e56e5..a838c6d334e6dcec2f74d4d2a9338e5bcc3a476b 100644
--- a/sky/examples/game/lib/sprite_box.dart
+++ b/sky/examples/game/lib/sprite_box.dart
@@ -253,7 +253,7 @@ class SpriteBox extends RenderBox {
_rootNode._invalidateToBoxTransformMatrix();
}
- void paint(RenderObjectDisplayList canvas) {
+ void paint(RenderCanvas canvas) {
canvas.save();
// Move to correct coordinate space before drawing

Powered by Google App Engine