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

Unified Diff: lib/compiler/implementation/tools/mini_parser.dart

Issue 10383023: Fix breakage in the JavaScript compilers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « lib/compiler/implementation/lib/mock.dart ('k') | runtime/lib/byte_array.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/tools/mini_parser.dart
diff --git a/lib/compiler/implementation/tools/mini_parser.dart b/lib/compiler/implementation/tools/mini_parser.dart
index 6d518fb1308a5dbf5243b725411c93fd55e2b122..62a4ea88bf0f9e011bf788395a0cee2b08fb331b 100644
--- a/lib/compiler/implementation/tools/mini_parser.dart
+++ b/lib/compiler/implementation/tools/mini_parser.dart
@@ -167,7 +167,7 @@ List<int> read(String filename) {
bool threw = true;
try {
int size = file.lengthSync();
- List<int> bytes = new ByteArray(size + 1);
+ List<int> bytes = new Uint8List(size + 1);
file.readListSync(bytes, 0, size);
bytes[size] = $EOF;
threw = false;
« no previous file with comments | « lib/compiler/implementation/lib/mock.dart ('k') | runtime/lib/byte_array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698