Chromium Code Reviews

Unified Diff: tools/dom/templates/html/impl/impl_ScriptProcessorNode.darttemplate

Issue 14103010: Change hasSubscribers to hasListener. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « tools/dom/templates/html/impl/impl_IDBObjectStore.darttemplate ('k') | utils/pub/error_group.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « tools/dom/templates/html/impl/impl_IDBObjectStore.darttemplate ('k') | utils/pub/error_group.dart » ('j') | no next file with comments »

Powered by Google App Engine