Chromium Code Reviews| Index: sky/sdk/lib/framework/rendering/node.dart |
| diff --git a/sky/sdk/lib/framework/rendering/node.dart b/sky/sdk/lib/framework/rendering/node.dart |
| index 45ed33921cd079e73fd46d4e78433a78432923a4..cfeec1599ddcfe35ef32316a6f407fd5990a3e7d 100644 |
| --- a/sky/sdk/lib/framework/rendering/node.dart |
| +++ b/sky/sdk/lib/framework/rendering/node.dart |
| @@ -229,6 +229,14 @@ abstract class RenderNodeWithChildMixin<ChildType extends RenderNode> { |
| adoptChild(_child); |
| markNeedsLayout(); |
| } |
| + void attachChildren() { |
| + if (_child != null) |
| + _child.attach(); |
| + } |
| + void detachChildren() { |
| + if (_child != null) |
| + _child.detach(); |
| + } |
|
abarth-chromium
2015/06/03 17:53:22
Ideally we'd have a test case that covers this bug
jackson
2015/06/03 22:06:26
Agree, I will investigate after landing this.
|
| } |