Index: tools/dom/templates/html/impl/impl_Node.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_Node.darttemplate b/tools/dom/templates/html/impl/impl_Node.darttemplate |
index f48bb031f40d0944cd6e28b55357c511d13b5f03..e544887e2d3e846d07caeaa8feec0087be756b1a 100644 |
--- a/tools/dom/templates/html/impl/impl_Node.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_Node.darttemplate |
@@ -145,7 +145,7 @@ $endif |
_this._replaceChild(value, this[index]); |
} |
- Iterator<Node> get iterator => _this.$dom_childNodes.iterator; |
+ Iterator<Node> get iterator => _this._childNodes.iterator; |
// From List<Node>: |
@@ -167,15 +167,15 @@ $endif |
// -- end List<Node> mixins. |
// TODO(jacobr): benchmark whether this is more efficient or whether caching |
- // a local copy of $dom_childNodes is more efficient. |
- int get length => _this.$dom_childNodes.length; |
+ // a local copy of _childNodes is more efficient. |
+ int get length => _this._childNodes.length; |
void set length(int value) { |
throw new UnsupportedError( |
"Cannot set length on immutable List."); |
} |
- Node operator[](int index) => _this.$dom_childNodes[index]; |
+ Node operator[](int index) => _this._childNodes[index]; |
} |
/** Information about the instantiated template. */ |