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

Unified Diff: sdk/lib/io/mime_multipart_parser.dart

Issue 13863012: Refactor List.setRange function. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments. Created 7 years, 8 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
« no previous file with comments | « sdk/lib/io/file_impl.dart ('k') | sdk/lib/io/secure_socket.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cd12c2023394413046e0dd2449b8d8b8d416ba0a..e757c75df553b2ac9d907e94cf00d81c9d6bd2d9 100644
--- a/sdk/lib/io/mime_multipart_parser.dart
+++ b/sdk/lib/io/mime_multipart_parser.dart
@@ -49,7 +49,7 @@ class _MimeMultipartParser {
_boundary[1] = _CharCode.LF;
_boundary[2] = _CharCode.DASH;
_boundary[3] = _CharCode.DASH;
- _boundary.setRange(4, charCodes.length, charCodes);
+ _boundary.setRange(4, 4 + charCodes.length, charCodes);
_state = _START;
_headerField = new StringBuffer();
_headerValue = new StringBuffer();
« no previous file with comments | « sdk/lib/io/file_impl.dart ('k') | sdk/lib/io/secure_socket.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698