Index: sdk/lib/collection/maps.dart |
diff --git a/sdk/lib/collection/maps.dart b/sdk/lib/collection/maps.dart |
index 2f803883120f8e768b8d9757234104c3ba16e7db..bd2e736a0458a28d292777c9d410427cc411f466 100644 |
--- a/sdk/lib/collection/maps.dart |
+++ b/sdk/lib/collection/maps.dart |
@@ -68,7 +68,7 @@ abstract class MapMixin<K, V> implements Map<K, V> { |
} |
V putIfAbsent(K key, V ifAbsent()) { |
- if (keys.contains(key)) { |
+ if (containsKey(key)) { |
return this[key]; |
} |
return this[key] = ifAbsent(); |