Index: tools/dom/templates/html/impl/impl_IDBObjectStore.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_IDBObjectStore.darttemplate b/tools/dom/templates/html/impl/impl_IDBObjectStore.darttemplate |
index 1363056fb541de952d3f34c08dda634760515524..9e0bae3ad74ca35bc319650dab600afbbcc74b79 100644 |
--- a/tools/dom/templates/html/impl/impl_IDBObjectStore.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_IDBObjectStore.darttemplate |
@@ -142,7 +142,7 @@ $!MEMBERS |
// TODO: need to guarantee that the controller provides the values |
// immediately as waiting until the next tick will cause the transaction to |
// close. |
- var controller = new StreamController(sync: true); |
+ var controller = new StreamController<Cursor>(sync: true); |
//TODO: Report stacktrace once issue 4061 is resolved. |
request.onError.listen(controller.addError); |