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 9337e6b27c4a7dd173b1d032290b7ef78f16fc6b..2883cf76d9535885057eb8b0cee03959315b171b 100644 |
--- a/sdk/lib/html/html_common/filtered_element_list.dart |
+++ b/sdk/lib/html/html_common/filtered_element_list.dart |
@@ -147,7 +147,8 @@ class FilteredElementList implements List { |
} |
bool every(bool f(Element element)) => _filtered.every(f); |
bool any(bool f(Element element)) => _filtered.any(f); |
- List<Element> toList() => new List<Element>.from(this); |
+ List<Element> toList({ bool growable: false }) => |
+ new List<Element>.from(this, growable: growable); |
Set<Element> toSet() => new Set<Element>.from(this); |
Element firstMatching(bool test(Element value), {Element orElse()}) { |
return _filtered.firstMatching(test, orElse: orElse); |