Chromium Code Reviews| Index: sky/sdk/lib/framework/fn2.dart |
| diff --git a/sky/sdk/lib/framework/fn2.dart b/sky/sdk/lib/framework/fn2.dart |
| index 60acbf0a7c8ce720baa249c23493bb1f521c6428..ca97bdcc1754735d172a60af437dcdf5664b1758 100644 |
| --- a/sky/sdk/lib/framework/fn2.dart |
| +++ b/sky/sdk/lib/framework/fn2.dart |
| @@ -530,8 +530,6 @@ class CustomPaint extends OneChildRenderObjectWrapper { |
| } |
| -final List<UINode> _emptyList = new List<UINode>(); |
| - |
| abstract class MultiChildRenderObjectWrapper extends RenderObjectWrapper { |
| // In MultiChildRenderObjectWrapper subclasses, slots are RenderObject nodes |
| @@ -540,7 +538,7 @@ abstract class MultiChildRenderObjectWrapper extends RenderObjectWrapper { |
| MultiChildRenderObjectWrapper({ |
| Object key, |
| List<UINode> children |
| - }) : this.children = children == null ? _emptyList : children, |
| + }) : this.children = children == null ? const [] : children, |
|
Hixie
2015/06/10 19:39:17
const <UINode>[]
|
| super( |
| key: key |
| ) { |