| Index: sdk/lib/core/list.dart
|
| diff --git a/sdk/lib/core/list.dart b/sdk/lib/core/list.dart
|
| index 578b4c631972aee7d3165b0715a7e9a6ad7a2ded..0b55b8ec0384ad67df417af79f14fc0b5257cab6 100644
|
| --- a/sdk/lib/core/list.dart
|
| +++ b/sdk/lib/core/list.dart
|
| @@ -96,12 +96,7 @@ abstract class List<E> implements Iterable<E>, EfficientLength {
|
| list.add(e);
|
| }
|
| if (growable) return list;
|
| - int length = list.length;
|
| - List<E> fixedList = new List<E>(length);
|
| - for (int i = 0; i < length; i++) {
|
| - fixedList[i] = list[i];
|
| - }
|
| - return fixedList;
|
| + return makeListFixedLength(list);
|
| }
|
|
|
| /**
|
|
|