| Index: sky/tests/raw/render_flex.dart
|
| diff --git a/sky/tests/raw/render_flex.dart b/sky/tests/raw/render_flex.dart
|
| index 24554d5869f057b65c81915887518afc2ba8f5bd..3cb5090813c85f013e36780d4fffda59a649e857 100644
|
| --- a/sky/tests/raw/render_flex.dart
|
| +++ b/sky/tests/raw/render_flex.dart
|
| @@ -17,10 +17,8 @@ class RenderSolidColor extends RenderDecoratedBox {
|
| super(new BoxDecoration(backgroundColor: backgroundColor)) {
|
| }
|
|
|
| - BoxDimensions getIntrinsicDimensions(BoxConstraints constraints) {
|
| - return new BoxDimensions.withConstraints(constraints,
|
| - width: desiredSize.width,
|
| - height: desiredSize.height);
|
| + sky.Size getIntrinsicDimensions(BoxConstraints constraints) {
|
| + return constraints.constrain(desiredSize);
|
| }
|
|
|
| void performLayout() {
|
|
|