Add Point.origin for new Point(0.0, 0.0)
R=eseidel@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1166183002
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user