Index: sdk/lib/io/bytes_builder.dart |
diff --git a/sdk/lib/io/bytes_builder.dart b/sdk/lib/io/bytes_builder.dart |
index 0c97748314e1b1604ab56175927a68b5cb83aacf..2dca39d0c181d7bb5752711219d700611b2c89b6 100644 |
--- a/sdk/lib/io/bytes_builder.dart |
+++ b/sdk/lib/io/bytes_builder.dart |
@@ -160,7 +160,7 @@ class _BytesBuilder implements BytesBuilder { |
if (bytes is Uint8List) { |
typedBytes = bytes; |
} else { |
- bytes = new Uint8List.fromList(bytes); |
+ typedBytes = new Uint8List.fromList(bytes); |
} |
_chunks.add(typedBytes); |
_length += typedBytes.length; |