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

Unified Diff: frog/file_system_vm.dart

Issue 9487005: Move back to having File.open{Input,Output}Stream return the stream directly. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 | « no previous file | runtime/bin/file.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/file_system_vm.dart
diff --git a/frog/file_system_vm.dart b/frog/file_system_vm.dart
index 9345debed3ad2836b102a2f0337bf83fd3b1f8ee..1d906fc4db982ef14934675aaed8dee6736a8286 100644
--- a/frog/file_system_vm.dart
+++ b/frog/file_system_vm.dart
@@ -11,7 +11,7 @@
class VMFileSystem implements FileSystem {
void writeString(String outfile, String text) {
var f = new File(outfile);
- var stream = f.openOutputStreamSync();
+ var stream = f.openOutputStream();
stream.write(text.charCodes());
stream.close();
}
« no previous file with comments | « no previous file | runtime/bin/file.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698