Index: sdk/lib/io/mime_multipart_parser.dart |
diff --git a/sdk/lib/io/mime_multipart_parser.dart b/sdk/lib/io/mime_multipart_parser.dart |
index beb971e28e4927df883b5e9ccfe9cc760d159e64..1ae374c2148e2b1e11fc387bc054234db71a7b01 100644 |
--- a/sdk/lib/io/mime_multipart_parser.dart |
+++ b/sdk/lib/io/mime_multipart_parser.dart |
@@ -42,7 +42,7 @@ class _MimeMultipartParser { |
// type parameter, that is without the -- prefix. |
_MimeMultipartParser(String boundary) { |
List<int> charCodes = boundary.charCodes; |
- _boundary = new List<int>(4 + charCodes.length); |
+ _boundary = new List<int>.fixedLength(4 + charCodes.length); |
// Set-up the matching boundary preceding it with CRLF and two |
// dashes. |
_boundary[0] = _CharCode.CR; |