Commit b7c58866 authored by Hixie's avatar Hixie

Rename "BorderSide.None" to "BorderSide.none", since it's a constant, and...

Rename "BorderSide.None" to "BorderSide.none", since it's a constant, and change the sky.Size.infinite() constructor to a constant.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/1158263005
parent 6559a8b6
......@@ -38,7 +38,7 @@ class SpriteBox extends RenderBox {
double get systemHeight => _systemHeight;
void performLayout() {
size = constraints.constrain(new Size.infinite());
size = constraints.constrain(Size.infinite);
}
void handleEvent(Event event) {
......
......@@ -52,7 +52,7 @@ class InkWell extends RenderBox {
}
void performLayout() {
size = constraints.constrain(new sky.Size.infinite());
size = constraints.constrain(sky.Size.infinite);
}
void paint(RenderObjectDisplayList canvas) {
......
......@@ -62,7 +62,7 @@ class RenderTouchDemo extends RenderBox {
}
void performLayout() {
size = constraints.constrain(new Size.infinite());
size = constraints.constrain(Size.infinite);
}
void paint(RenderObjectDisplayList canvas) {
......
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