| Index: runtime/lib/array_patch.dart
|
| diff --git a/runtime/lib/array_patch.dart b/runtime/lib/array_patch.dart
|
| index 1e48eccfeef3f81bdba53a6c11efe14a17f6801b..502723685bd0961699da040bc0d59ba884059f6c 100644
|
| --- a/runtime/lib/array_patch.dart
|
| +++ b/runtime/lib/array_patch.dart
|
| @@ -2,20 +2,19 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// Note that optimizing compiler depends on the algorithm which
|
| -// returns a _GrowableObjectArray if length is null, otherwise returns
|
| -// fixed size array.
|
| +// Note that optimizing compiler depends on the algorithm which returns
|
| +// a GrowableObjectArray if length is null, otherwise returns fixed size array.
|
| patch class ListImplementation<E> {
|
| /* patch */ factory List([int length = null]) {
|
| if (length === null) {
|
| - return new _GrowableObjectArray<E>();
|
| + return new GrowableObjectArray<E>();
|
| } else {
|
| - return new _ObjectArray<E>(length);
|
| + return new ObjectArray<E>(length);
|
| }
|
| }
|
|
|
| /* patch */ static _from(Iterable other) {
|
| - _GrowableObjectArray list = new _GrowableObjectArray();
|
| + GrowableObjectArray list = new GrowableObjectArray();
|
| for (final e in other) {
|
| list.add(e);
|
| }
|
|
|