Chromium Code Reviews| Index: runtime/lib/growable_array.dart |
| diff --git a/runtime/lib/growable_array.dart b/runtime/lib/growable_array.dart |
| index e1a858364b035e1c726ecd26c9da234cfeb3f1be..131e31751cd41a8ce8868a2329f33d609c028658 100644 |
| --- a/runtime/lib/growable_array.dart |
| +++ b/runtime/lib/growable_array.dart |
| @@ -327,4 +327,8 @@ class _GrowableObjectArray<T> implements List<T> { |
| Set<T> toSet() { |
| return new Set<T>.from(this); |
| } |
| + |
| + Map<int, T> asMap() { |
| + return IterableMixinWorkaround.asMapList(this); |
| + } |
| } |