Index: tools/dom/templates/html/impl/impl_Storage.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_Storage.darttemplate b/tools/dom/templates/html/impl/impl_Storage.darttemplate |
index a48e3da0479bf6f61f9c78020feb99d733dfde2a..d200bb8d112041407c0b3cebac72c2239d10f293 100644 |
--- a/tools/dom/templates/html/impl/impl_Storage.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_Storage.darttemplate |
@@ -8,7 +8,7 @@ part of html; |
class $CLASSNAME$EXTENDS implements Map<String, String> $NATIVESPEC { |
// TODO(nweiz): update this when maps support lazy iteration |
- bool containsValue(String value) => values.some((e) => e == value); |
+ bool containsValue(String value) => values.any((e) => e == value); |
bool containsKey(String key) => $dom_getItem(key) != null; |