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

Unified Diff: lib/compiler/implementation/scanner/vm_scanner_bench.dart

Issue 10001008: Many type fixes. (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
Index: lib/compiler/implementation/scanner/vm_scanner_bench.dart
diff --git a/lib/compiler/implementation/scanner/vm_scanner_bench.dart b/lib/compiler/implementation/scanner/vm_scanner_bench.dart
index e6c776b4414d8ae1a5f1f297f4a2d33223a6cb49..f02af1cd4a2e7c19cd3bf909c0bdb52be34fb2be 100644
--- a/lib/compiler/implementation/scanner/vm_scanner_bench.dart
+++ b/lib/compiler/implementation/scanner/vm_scanner_bench.dart
@@ -14,7 +14,7 @@
class VmScannerBench extends ScannerBench {
int getBytes(String filename, void callback(List<int> bytes)) {
- var file = (new File(filename)).openSync();
+ var file = (new File(filename)).openSync(FileMode.READ);
int size = file.lengthSync();
List<int> bytes = new ByteArray(size + 1);
file.readListSync(bytes, 0, size);

Powered by Google App Engine
This is Rietveld 408576698