Index: sky/examples/rendering/sector_layout.dart |
diff --git a/sky/examples/rendering/sector_layout.dart b/sky/examples/rendering/sector_layout.dart |
index 2b1d6a0c90af77ccd83b37c6f8a8a588c6d552e0..c7118d2e2eb2ee5f54cbd9063d14d971b3893f67 100644 |
--- a/sky/examples/rendering/sector_layout.dart |
+++ b/sky/examples/rendering/sector_layout.dart |
@@ -113,7 +113,7 @@ class RenderDecoratedSector extends RenderSector { |
} |
// origin must be set to the center of the circle |
- void paint(RenderObjectDisplayList canvas) { |
+ void paint(sky.Canvas canvas) { |
assert(deltaRadius != null); |
assert(deltaTheta != null); |
assert(parentData is SectorParentData); |
@@ -249,13 +249,13 @@ class RenderSectorRing extends RenderSectorWithChildren { |
// paint origin is 0,0 of our circle |
// each sector then knows how to paint itself at its location |
- void paint(RenderObjectDisplayList canvas) { |
+ void paint(sky.Canvas canvas) { |
// TODO(ianh): avoid code duplication |
super.paint(canvas); |
RenderSector child = firstChild; |
while (child != null) { |
assert(child.parentData is SectorChildListParentData); |
- canvas.paintChild(child, Point.origin); |
+ paintChild(canvas, child, Point.origin); |
child = child.parentData.nextSibling; |
} |
} |
@@ -354,13 +354,13 @@ class RenderSectorSlice extends RenderSectorWithChildren { |
// paint origin is 0,0 of our circle |
// each sector then knows how to paint itself at its location |
- void paint(RenderObjectDisplayList canvas) { |
+ void paint(sky.Canvas canvas) { |
// TODO(ianh): avoid code duplication |
super.paint(canvas); |
RenderSector child = firstChild; |
while (child != null) { |
assert(child.parentData is SectorChildListParentData); |
- canvas.paintChild(child, Point.origin); |
+ paintChild(canvas, child, Point.origin); |
child = child.parentData.nextSibling; |
} |
} |
@@ -428,11 +428,11 @@ class RenderBoxToRenderSectorAdapter extends RenderBox { |
} |
// paint origin is 0,0 of our circle |
- void paint(RenderObjectDisplayList canvas) { |
+ void paint(sky.Canvas canvas) { |
super.paint(canvas); |
if (child != null) { |
Rect bounds = new Rect.fromSize(size); |
- canvas.paintChild(child, bounds.center); |
+ paintChild(canvas, child, bounds.center); |
} |
} |