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

Unified Diff: samples/third_party/dromaeo/Suites.dart

Issue 12335131: Make List.from default to not growable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix one more from. 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: samples/third_party/dromaeo/Suites.dart
diff --git a/samples/third_party/dromaeo/Suites.dart b/samples/third_party/dromaeo/Suites.dart
index 4bb553d97efa67fa982b414669b74e3f70927c91..cf5ea49204b928f2917d5649c53ee1d4ecb46bae 100644
--- a/samples/third_party/dromaeo/Suites.dart
+++ b/samples/third_party/dromaeo/Suites.dart
@@ -113,7 +113,7 @@ class Suites {
List<String> libraries = variant[1];
for(String lib in libraries) {
String path = _getHtmlPathForVariant(platform, lib, suite.file);
- final combined = new List.from(suite.tags);
+ final combined = new List.from(suite.tags, growable: true);
combined.add(platform);
if (lib != '') {
combined.add(lib);
« no previous file with comments | « pkg/scheduled_test/lib/src/schedule.dart ('k') | sdk/lib/_internal/compiler/implementation/lib/js_array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698