| 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 e57d98ff6adfefc474b1d2dc1f0a74109049b8b2..86db4ea331b8626a357fdea5b03dbdb09b91af57 100644
|
| --- a/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
|
| @@ -21,18 +21,21 @@ $(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> _children;
|
| + List<Element> _docChildren;
|
|
|
| List<Element> get children {
|
| - if (_children == null) {
|
| - _children = new FilteredElementList(this);
|
| + if (_docChildren == null) {
|
| + _docChildren = new FilteredElementList(this);
|
| }
|
| - return _children;
|
| + return _docChildren;
|
| }
|
|
|
| void set children(List<Element> value) {
|
|
|