Index: tools/dom/src/EventStreamProvider.dart |
diff --git a/tools/dom/src/EventStreamProvider.dart b/tools/dom/src/EventStreamProvider.dart |
index 58c6cde49c462eaff4c6e95eb840813e48c0edc9..e9213e7df2713298b3ae7db90d65ecc4db3aeab4 100644 |
--- a/tools/dom/src/EventStreamProvider.dart |
+++ b/tools/dom/src/EventStreamProvider.dart |
@@ -283,13 +283,13 @@ class _EventStreamSubscription<T extends Event> extends StreamSubscription<T> { |
void _tryResume() { |
if (_onData != null && !isPaused) { |
- _target.$dom_addEventListener(_eventType, _onData, _useCapture); |
+ _target._addEventListener(_eventType, _onData, _useCapture); |
} |
} |
void _unlisten() { |
if (_onData != null) { |
- _target.$dom_removeEventListener(_eventType, _onData, _useCapture); |
+ _target._removeEventListener(_eventType, _onData, _useCapture); |
} |
} |