| Index: sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| diff --git a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| index ee3553b53f8d37943a53e474839e24381f1cfef0..1a36a9fc63c77d49c2a4658a5fa103083f834e28 100644
|
| --- a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| +++ b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| @@ -827,7 +827,7 @@ class ScriptProcessorNode extends AudioNode native "*ScriptProcessorNode" {
|
| if (_eventStream == null) {
|
| var controller = new StreamController();
|
| var callback = (audioData) {
|
| - if (controller.hasSubscribers) {
|
| + if (controller.hasListener) {
|
| // This stream is a strange combination of broadcast and single
|
| // subscriber streams. We only allow one listener, but if there is
|
| // no listener, we don't queue up events, we just drop them on the
|
|
|