Index: tools/dom/src/EventStreamProvider.dart |
diff --git a/tools/dom/src/EventStreamProvider.dart b/tools/dom/src/EventStreamProvider.dart |
index 84febfe28e9bdbed27914e803f08aefadfec5069..d1a341277df94b9f5ad05f42fa2da062f3f689bc 100644 |
--- a/tools/dom/src/EventStreamProvider.dart |
+++ b/tools/dom/src/EventStreamProvider.dart |
@@ -21,7 +21,7 @@ class _EventStream<T extends Event> extends Stream<T> { |
StreamSubscription<T> listen(void onData(T event), |
{ void onError(AsyncError error), |
void onDone(), |
- bool unsubscribeOnError}) { |
+ bool cancelOnError}) { |
return new _EventStreamSubscription<T>( |
this._target, this._eventType, onData, this._useCapture); |