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

Unified Diff: runtime/bin/process_impl.dart

Issue 8318009: Update the streams interfaces (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Starting implementation Created 9 years, 2 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: runtime/bin/process_impl.dart
diff --git a/runtime/bin/process_impl.dart b/runtime/bin/process_impl.dart
index 98d72b4811ffc2f630c5209f487e6439854508dc..4a99943f50d950d1eb32806b8ea590b5bf8bbb4d 100644
--- a/runtime/bin/process_impl.dart
+++ b/runtime/bin/process_impl.dart
@@ -81,18 +81,18 @@ class _Process implements Process {
void _processExit(int pid) native "Process_Exit";
- InputStream get stdoutStream() {
+ InputStream2 get stdoutStream() {
if (_closed) {
throw new ProcessException("Process closed");
}
- return _in.inputStream;
+ return _in.inputStream2;
}
- InputStream get stderrStream() {
+ InputStream2 get stderrStream() {
if (_closed) {
throw new ProcessException("Process closed");
}
- return _err.inputStream;
+ return _err.inputStream2;
}
OutputStream get stdinStream() {

Powered by Google App Engine
This is Rietveld 408576698