Index: sdk/lib/indexed_db/dartium/indexed_db_dartium.dart |
diff --git a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart |
index 3dac5332d5505e95037690dc4c69a23d60c55c47..6fad318309025870988630df026866dcd88418f5 100644 |
--- a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart |
+++ b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart |
@@ -1073,7 +1073,7 @@ class ObjectStore extends NativeFieldWrapperClass1 { |
controller.close(); |
} else { |
controller.add(cursor); |
- if (autoAdvance == true && controller.hasSubscribers) { |
+ if (autoAdvance == true && controller.hasListener) { |
cursor.next(); |
} |
} |