Commit 824bc316 authored by Adam Barth's avatar Adam Barth

Add Point.origin for new Point(0.0, 0.0)

R=eseidel@chromium.org, ianh@google.com

Review URL: https://codereview.chromium.org/1166183002
parent 81e8e2b5
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment