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

Unified Diff: frog/leg/tools/mini_parser.dart

Issue 8883017: Split File into File and RandomAccessFile. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 9 years 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 | « frog/leg/scanner/vm_scanner_bench.dart ('k') | runtime/bin/file.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/tools/mini_parser.dart
diff --git a/frog/leg/tools/mini_parser.dart b/frog/leg/tools/mini_parser.dart
index 1dbe1d5a76187ad835c317486129a0281a0b410e..cf1dbe23781a20163298c2dc0b527ab46255f335 100644
--- a/frog/leg/tools/mini_parser.dart
+++ b/frog/leg/tools/mini_parser.dart
@@ -116,8 +116,7 @@ void forEachLine(InputStream input,
}
List<int> read(String filename) {
- File file = new File(filename);
- file.openSync();
+ File file = new File(filename).openSync();
bool threw = true;
try {
int size = file.lengthSync();
« no previous file with comments | « frog/leg/scanner/vm_scanner_bench.dart ('k') | runtime/bin/file.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698