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

Unified Diff: sdk/lib/web_sql/dart2js/web_sql_dart2js.dart

Issue 12328104: Change new List(n) to return fixed length list. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
Index: sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
diff --git a/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart b/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
index 855991362701e753c4a81d266201ef454c6837ac..71de00a4e89de0c383fc8826dd48d4ab985cfc06 100644
--- a/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
+++ b/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
@@ -265,7 +265,9 @@ class SqlResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ
bool any(bool f(Map element)) => IterableMixinWorkaround.any(this, f);
- List<Map> toList() => new List<Map>.from(this);
+ List<Map> toList({ bool growable: false }) =>
+ new List<Map>.from(this, growable: growable);
floitsch 2013/02/26 13:54:19 IterableMixinWorkaround.toListList(this, growable)
+
Set<Map> toSet() => new Set<Map>.from(this);
bool get isEmpty => this.length == 0;

Powered by Google App Engine
This is Rietveld 408576698