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

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

Issue 13956006: Remove insertRange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Replace type with var.wq 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
Index: sdk/lib/io/http_impl.dart
diff --git a/sdk/lib/io/http_impl.dart b/sdk/lib/io/http_impl.dart
index cea3e11e9144c54473916a32031e89736f8b2b0d..d3bde6f5f7707ce0146790be474dddef79d587e0 100644
--- a/sdk/lib/io/http_impl.dart
+++ b/sdk/lib/io/http_impl.dart
@@ -863,7 +863,7 @@ class _ChunkedTransformer extends StreamEventTransformer<List<int>, List<int>> {
header.add(hexDigits[length]);
} else {
while (length > 0) {
- header.insertRange(0, 1, hexDigits[length % 16]);
+ header.insert(0, hexDigits[length % 16]);
length = length >> 4;
}
}

Powered by Google App Engine
This is Rietveld 408576698