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

Unified Diff: runtime/lib/literal_factory.dart

Issue 10990083: Reapply change to hide VM-only List implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix dart:io perf regression. Created 8 years, 3 months 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/immutable_map.dart ('k') | runtime/lib/string_base.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/literal_factory.dart
diff --git a/runtime/lib/literal_factory.dart b/runtime/lib/literal_factory.dart
index d7874331ad6936777c2185341bac5257559359ee..ba5d0a85f0e9c5ab992e9d5a4167524fb9718fb6 100644
--- a/runtime/lib/literal_factory.dart
+++ b/runtime/lib/literal_factory.dart
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// 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.
@@ -8,7 +8,7 @@
class _ListLiteralFactory<E> {
// [elements] contains elements that are already type checked.
factory List.fromLiteral(List elements) {
- var list = new GrowableObjectArray<E>();
+ var list = new List<E>();
if (elements.length > 0) {
list._setData(elements);
list.length = elements.length;
« no previous file with comments | « runtime/lib/immutable_map.dart ('k') | runtime/lib/string_base.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698