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
This commit is contained in:
Hixie 2015-06-04 16:17:20 -07:00
parent 0f1df21be9
commit daae863aab

View File

@ -15,7 +15,7 @@ class RenderSolidColor extends RenderDecoratedBox {
final sky.Size desiredSize;
final sky.Color backgroundColor;
RenderSolidColor(sky.Color backgroundColor, { this.desiredSize: const sky.Size.infinite() })
RenderSolidColor(sky.Color backgroundColor, { this.desiredSize: sky.Size.infinite })
: backgroundColor = backgroundColor,
super(decoration: new BoxDecoration(backgroundColor: backgroundColor)) {
}