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

Unified Diff: utils/apidoc/mdn/extract.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: utils/apidoc/mdn/extract.dart
diff --git a/utils/apidoc/mdn/extract.dart b/utils/apidoc/mdn/extract.dart
index d9622b5e05b04020dba7877ac9866a40e5d39bfc..da3a7f3162dabb4016047cc7a0b53e2853bbf93a 100644
--- a/utils/apidoc/mdn/extract.dart
+++ b/utils/apidoc/mdn/extract.dart
@@ -748,7 +748,7 @@ void scrapeSection(Element root, String sectionSelector, String currentType,
// Figure out which column in the table contains member names by
// tracking how many member names each column contains.
- final numMatches = new List<int>.fixedLength(i);
+ final numMatches = new List<int>(i);
for (int j = 0; j < i; j++) {
numMatches[j] = 0;
}

Powered by Google App Engine
This is Rietveld 408576698