Index: sky/sdk/lib/framework/rendering/box.dart |
diff --git a/sky/sdk/lib/framework/rendering/box.dart b/sky/sdk/lib/framework/rendering/box.dart |
index 02a1893dfe5d80bf1269d4ca660626c8662bee8a..f40d2bc6e0b123f5ee766fdfd3d4a96d2e53be9d 100644 |
--- a/sky/sdk/lib/framework/rendering/box.dart |
+++ b/sky/sdk/lib/framework/rendering/box.dart |
@@ -116,7 +116,7 @@ class BoxConstraints { |
} |
class BoxParentData extends ParentData { |
- Point position = new Point(0.0, 0.0); |
+ Point position = Point.origin; |
String toString() => 'position=$position'; |
} |
@@ -809,7 +809,7 @@ class RenderView extends RenderObject with RenderObjectWithChildMixin<RenderBox> |
void paint(RenderObjectDisplayList canvas) { |
if (child != null) |
- canvas.paintChild(child, new Point(0.0, 0.0)); |
+ canvas.paintChild(child, Point.origin); |
} |
void paintFrame() { |