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

Unified Diff: sdk/lib/web_sql/dartium/web_sql_dartium.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/dartium/web_sql_dartium.dart
diff --git a/sdk/lib/web_sql/dartium/web_sql_dartium.dart b/sdk/lib/web_sql/dartium/web_sql_dartium.dart
index c25f0ae17ffd12befa2b40c8cadf2e8bf1093f4c..4899c6dfbe04015362c5ed7d5d4c9a0d4dfd9d06 100644
--- a/sdk/lib/web_sql/dartium/web_sql_dartium.dart
+++ b/sdk/lib/web_sql/dartium/web_sql_dartium.dart
@@ -287,7 +287,9 @@ class SqlResultSetRowList extends NativeFieldWrapperClass1 implements List<Map>
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