Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

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

Issue 27036002: Update dom streams with new signatures. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6cf94ba98327c7ed27c374ac65cf9976c0575a72..4b622325203961d739b2c26892de1f6da358a9e5 100644
--- a/tools/dom/templates/html/impl/impl_IDBObjectStore.darttemplate
+++ b/tools/dom/templates/html/impl/impl_IDBObjectStore.darttemplate
@@ -144,10 +144,8 @@ $!MEMBERS
// close.
var controller = new StreamController(sync: true);
- request.onError.listen((e) {
- //TODO: Report stacktrace once issue 4061 is resolved.
- controller.addError(e);
- });
+ //TODO: Report stacktrace once issue 4061 is resolved.
+ request.onError.listen(controller.addError);
request.onSuccess.listen((e) {
Cursor cursor = request.result;

Powered by Google App Engine
This is Rietveld 408576698