| Index: sky/sdk/lib/rendering/auto_layout.dart
|
| diff --git a/sky/sdk/lib/rendering/auto_layout.dart b/sky/sdk/lib/rendering/auto_layout.dart
|
| index d3c8d10b1e448cbb5eb656fe57687a4bcc574c79..1942760016d3768dd2ed11491806aa23ee8ea39b 100644
|
| --- a/sky/sdk/lib/rendering/auto_layout.dart
|
| +++ b/sky/sdk/lib/rendering/auto_layout.dart
|
| @@ -102,7 +102,8 @@ class AutoLayoutParentData extends BoxParentData
|
| // This is called by the parent's layout function
|
| // to lay our box out.
|
| assert(_renderBox.parentData == this);
|
| - assert(_renderBox.parent.debugDoingThisLayout);
|
| + assert(_renderBox.parent is RenderAutoLayout);
|
| + assert((_renderBox.parent as RenderAutoLayout).debugDoingThisLayout); // TODO(ianh): Remove cast once the analyzer is cleverer
|
| BoxConstraints size = new BoxConstraints.tightFor(
|
| width: _rightEdge.value - _leftEdge.value,
|
| height: _bottomEdge.value - _topEdge.value
|
|
|