Index: sky/examples/raw/sector_layout.dart |
diff --git a/sky/examples/raw/sector_layout.dart b/sky/examples/raw/sector_layout.dart |
index d3186c3c4617ff9a1dc2b0b946ea73be098d5ecc..1c8ed3fdf69ac411360a4cde0c637ab86879e6b2 100644 |
--- a/sky/examples/raw/sector_layout.dart |
+++ b/sky/examples/raw/sector_layout.dart |
@@ -257,7 +257,7 @@ class RenderSectorRing extends RenderSectorWithChildren { |
RenderSector child = firstChild; |
while (child != null) { |
assert(child.parentData is SectorChildListParentData); |
- canvas.paintChild(child, new Point(0.0, 0.0)); |
+ canvas.paintChild(child, Point.origin); |
child = child.parentData.nextSibling; |
} |
} |
@@ -362,7 +362,7 @@ class RenderSectorSlice extends RenderSectorWithChildren { |
RenderSector child = firstChild; |
while (child != null) { |
assert(child.parentData is SectorChildListParentData); |
- canvas.paintChild(child, new Point(0.0, 0.0)); |
+ canvas.paintChild(child, Point.origin); |
child = child.parentData.nextSibling; |
} |
} |