Index: sky/sdk/lib/framework/painting/box_painter.dart |
diff --git a/sky/sdk/lib/framework/painting/box_painter.dart b/sky/sdk/lib/framework/painting/box_painter.dart |
index 0b5747da5021f8e5e4785f303bbac408cb93b121..83ae1d70ffb81b9aee81275b3bb8f63b72e6f84e 100644 |
--- a/sky/sdk/lib/framework/painting/box_painter.dart |
+++ b/sky/sdk/lib/framework/painting/box_painter.dart |
@@ -85,7 +85,7 @@ class LinearGradient extends Gradient { |
'LinearGradient($endPoints, $colors, $colorStops, $tileMode)'; |
sky.Shader createShader() { |
- return new sky.Gradient.Linear(this.endPoints, this.colors, this.colorStops, |
+ return new sky.Gradient.linear(this.endPoints, this.colors, this.colorStops, |
this.tileMode); |
} |
@@ -108,7 +108,7 @@ class RadialGradient extends Gradient { |
'RadialGradient($center, $radius, $colors, $colorStops, $tileMode)'; |
sky.Shader createShader() { |
- return new sky.Gradient.Radial(this.center, this.radius, this.colors, |
+ return new sky.Gradient.radial(this.center, this.radius, this.colors, |
this.colorStops, this.tileMode); |
} |