Index: runtime/bin/buffer_list.dart |
diff --git a/runtime/bin/buffer_list.dart b/runtime/bin/buffer_list.dart |
index a6ec59010ff1fd40114581e88de33bd8066e71f8..510a11eaf31f76cbccad97512a9890e6313bf124 100644 |
--- a/runtime/bin/buffer_list.dart |
+++ b/runtime/bin/buffer_list.dart |
@@ -80,7 +80,7 @@ class _BufferList { |
} |
return result; |
} else { |
- result = new ByteArray(count); |
+ result = new Uint8List(count); |
int remaining = count; |
while (remaining > 0) { |
int bytesInFirst = _buffers.first().length - _index; |