| Index: tools/dom/templates/html/impl/impl_ScriptProcessorNode.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_ScriptProcessorNode.darttemplate b/tools/dom/templates/html/impl/impl_ScriptProcessorNode.darttemplate
|
| index 15bf88ed9370beb4169c7e3661ccc348bd83a128..d6f813f31415697fc93639158cfad50163e95855 100644
|
| --- a/tools/dom/templates/html/impl/impl_ScriptProcessorNode.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_ScriptProcessorNode.darttemplate
|
| @@ -18,7 +18,7 @@ $(ANNOTATIONS)class $CLASSNAME$EXTENDS$NATIVESPEC {
|
| 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
|
|
|