Chromium Code Reviews| Index: runtime/lib/growable_array.dart |
| =================================================================== |
| --- runtime/lib/growable_array.dart (revision 1661) |
| +++ runtime/lib/growable_array.dart (working copy) |
| @@ -95,8 +95,8 @@ |
| } |
| } |
| - factory GrowableObjectArray.from(Collection<T> other) { |
| - List result = new GrowableObjectArray(); |
| + factory GrowableObjectArray<T>.from(Collection<T> other) { |
| + List<T> result = new GrowableObjectArray<T>(); |
| result.addAll(other); |
| return result; |
| } |