| Index: tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate b/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
|
| index 86db4ea331b8626a357fdea5b03dbdb09b91af57..e57d98ff6adfefc474b1d2dc1f0a74109049b8b2 100644
|
| --- a/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
|
| @@ -21,21 +21,18 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| validator: validator, treeSanitizer: treeSanitizer);
|
| }
|
|
|
| - HtmlCollection get _children => throw new UnimplementedError(
|
| - 'Use _docChildren instead');
|
| -
|
| $if DART2JS
|
| // Native field is used only by Dart code so does not lead to instantiation
|
| // of native classes
|
| @Creates('Null')
|
| $endif
|
| - List<Element> _docChildren;
|
| + List<Element> _children;
|
|
|
| List<Element> get children {
|
| - if (_docChildren == null) {
|
| - _docChildren = new FilteredElementList(this);
|
| + if (_children == null) {
|
| + _children = new FilteredElementList(this);
|
| }
|
| - return _docChildren;
|
| + return _children;
|
| }
|
|
|
| void set children(List<Element> value) {
|
|
|