Index: sky/examples/game/lib/node_with_size.dart |
diff --git a/sky/examples/game/lib/node_with_size.dart b/sky/examples/game/lib/node_with_size.dart |
index b527619b8683aaf6eff75dafec561e6a9ffe1610..15503d26922b5394fb28884f3092de3c39d38f18 100644 |
--- a/sky/examples/game/lib/node_with_size.dart |
+++ b/sky/examples/game/lib/node_with_size.dart |
@@ -32,7 +32,7 @@ abstract class NodeWithSize extends Node { |
/// If you use this method you will need to save and restore your canvas at the beginning and |
/// end of your [paint] method. |
/// |
- /// void paint(PictureRecorder canvas) { |
+ /// void paint(RenderCanvas canvas) { |
/// canvas.save(); |
/// applyTransformForPivot(canvas); |
/// |
@@ -40,7 +40,7 @@ abstract class NodeWithSize extends Node { |
/// |
/// canvas.restore(); |
/// } |
- void applyTransformForPivot(PictureRecorder canvas) { |
+ void applyTransformForPivot(RenderCanvas canvas) { |
if (pivot.x != 0 || pivot.y != 0) { |
double pivotInPointsX = size.width * pivot.x; |
double pivotInPointsY = size.height * pivot.y; |