Index: sdk/lib/html/html_common/filtered_element_list.dart |
diff --git a/sdk/lib/html/html_common/filtered_element_list.dart b/sdk/lib/html/html_common/filtered_element_list.dart |
index 43d004deaa98f71e9a55317741eee49a187bf12e..63123687d1053cadb5eec7ee50dbe173362def79 100644 |
--- a/sdk/lib/html/html_common/filtered_element_list.dart |
+++ b/sdk/lib/html/html_common/filtered_element_list.dart |
@@ -8,7 +8,7 @@ part of html_common; |
* An indexable collection of a node's descendants in the document tree, |
* filtered so that only elements are in the collection. |
*/ |
-class FilteredElementList implements List { |
+class FilteredElementList extends ListBase<Element> { |
final Node _node; |
final List<Node> _childNodes; |
@@ -143,7 +143,7 @@ class FilteredElementList implements List { |
dynamic reduce(dynamic initialValue, |
dynamic combine(dynamic previousValue, Element element)) { |
- return IterableMixinWorkaround.reduce(this, initialValue, combine); |
+ return _filtered.reduce(initialValue, combine); |
} |
dynamic fold(dynamic initialValue, |