Index: runtime/lib/collection_patch.dart |
diff --git a/runtime/lib/collection_patch.dart b/runtime/lib/collection_patch.dart |
index f7cd33d1da5a630eb92428c25db8702185bca654..0dea1458f3e2d7ec0de0596f3cf5ad6010210077 100644 |
--- a/runtime/lib/collection_patch.dart |
+++ b/runtime/lib/collection_patch.dart |
@@ -435,7 +435,8 @@ class _HashMapEntry { |
_HashMapEntry(this.key, this.value, this.hashCode, this.next); |
} |
-abstract class _HashMapIterable<E> extends EfficientLengthIterable<E> { |
+abstract class _HashMapIterable<E> extends IterableBase<E> |
+ implements EfficientLength { |
final HashMap _map; |
_HashMapIterable(this._map); |
int get length => _map.length; |
@@ -837,7 +838,8 @@ class _LinkedHashMapEntry extends _HashMapEntry { |
} |
} |
-class _LinkedHashMapKeyIterable<K> extends EfficientLengthIterable<K> { |
+class _LinkedHashMapKeyIterable<K> extends IterableBase<K> |
+ implements EfficientLength { |
LinkedHashMap<K, dynamic> _map; |
_LinkedHashMapKeyIterable(this._map); |
Iterator<K> get iterator => new _LinkedHashMapKeyIterator<K>(_map); |
@@ -848,7 +850,8 @@ class _LinkedHashMapKeyIterable<K> extends EfficientLengthIterable<K> { |
Set<K> toSet() => _map._newKeySet()..addAll(this); |
} |
-class _LinkedHashMapValueIterable<V> extends EfficientLengthIterable<V> { |
+class _LinkedHashMapValueIterable<V> extends IterableBase<V> |
+ implements EfficientLength { |
LinkedHashMap<dynamic, V> _map; |
_LinkedHashMapValueIterable(this._map); |
Iterator<V> get iterator => new _LinkedHashMapValueIterator<V>(_map); |