Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(661)

Unified Diff: runtime/lib/immutable_map.dart

Issue 2467113003: Make EfficientLength extend Iterable. (Closed)
Patch Set: Reverted, prepare to reland. Make new test not break web-testing framework. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/growable_array.dart ('k') | runtime/lib/string_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/immutable_map.dart
diff --git a/runtime/lib/immutable_map.dart b/runtime/lib/immutable_map.dart
index b8d0d3c62d7b9cb8ed74402db42413aba5f6c39e..ba866e39cf3769864345229f65abca18e3b5ae32 100644
--- a/runtime/lib/immutable_map.dart
+++ b/runtime/lib/immutable_map.dart
@@ -85,8 +85,7 @@ class ImmutableMap<K, V> implements Map<K, V> {
}
}
-class _ImmutableMapKeyIterable<E> extends IterableBase<E>
- implements EfficientLength {
+class _ImmutableMapKeyIterable<E> extends EfficientLengthIterable<E> {
final ImmutableMap _map;
_ImmutableMapKeyIterable(this._map);
@@ -97,8 +96,7 @@ class _ImmutableMapKeyIterable<E> extends IterableBase<E>
int get length => _map.length;
}
-class _ImmutableMapValueIterable<E> extends IterableBase<E>
- implements EfficientLength {
+class _ImmutableMapValueIterable<E> extends EfficientLengthIterable<E> {
final ImmutableMap _map;
_ImmutableMapValueIterable(this._map);
« no previous file with comments | « runtime/lib/growable_array.dart ('k') | runtime/lib/string_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698