Index: sdk/lib/io/stdio.dart |
diff --git a/sdk/lib/io/stdio.dart b/sdk/lib/io/stdio.dart |
index e54d601a74c98ccefa7084e1432fc7ed8501df88..44088a31202778318346941bbb757d8d1f1d29b8 100644 |
--- a/sdk/lib/io/stdio.dart |
+++ b/sdk/lib/io/stdio.dart |
@@ -18,12 +18,12 @@ class _StdStream extends Stream<List<int>> { |
StreamSubscription<List<int>> listen(void onData(List<int> event), |
{void onError(AsyncError error), |
void onDone(), |
- bool unsubscribeOnError}) { |
+ bool cancelOnError}) { |
return _stream.listen( |
onData, |
onError: onError, |
onDone: onDone, |
- unsubscribeOnError: unsubscribeOnError); |
+ cancelOnError: cancelOnError); |
} |
} |