Index: lib/dom.dart |
diff --git a/lib/dom.dart b/lib/dom.dart |
index 63182f634b84147e348480b1c539c160c12c1a49..bd3e2bdb5dbcf5717860e918dd912c1789834acc 100644 |
--- a/lib/dom.dart |
+++ b/lib/dom.dart |
@@ -809,7 +809,6 @@ class NodeList extends ListProxy<Node> { |
// TODO(jmesserly): "implements List<Element>" is a workaround for analyzer bug. |
class FilteredElementList extends IterableBase<Element> with ListMixin<Element> |
implements List<Element> { |
- final Node _node; |
final List<Node> _childNodes; |
/// Creates a collection of the elements that descend from a node. |
@@ -819,8 +818,8 @@ class FilteredElementList extends IterableBase<Element> with ListMixin<Element> |
/// var filteredElements = new FilteredElementList(query("#container")); |
/// // filteredElements is [a, b, c]. |
FilteredElementList(Node node) |
- : _childNodes = node.nodes, |
- _node = node; |
+ : _childNodes = node.nodes; |
+ |
// We can't memoize this, since it's possible that children will be messed |
// with externally to this class. |