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

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: Merge to head. 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 d42054c03660a3eb8ca51c14f264565a7c6961ec..4bb63d0f1096ef32c60e7b1fd7f5ecbec9ad4b0b 100644
--- a/sdk/lib/web_sql/dartium/web_sql_dartium.dart
+++ b/sdk/lib/web_sql/dartium/web_sql_dartium.dart
@@ -309,7 +309,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);
+
Set<Map> toSet() => new Set<Map>.from(this);
bool get isEmpty => this.length == 0;

Powered by Google App Engine
This is Rietveld 408576698