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

Unified Diff: tools/dom/src/ModelTreeObserver.dart

Issue 14103018: Fix Future.immediateError users. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/src/ModelTreeObserver.dart
diff --git a/tools/dom/src/ModelTreeObserver.dart b/tools/dom/src/ModelTreeObserver.dart
index 38cf9b3f72711fc867c7c76ad27b2fad55a0d67e..8e0bb41ad584799c601fad977adc55f3c2bc19f8 100644
--- a/tools/dom/src/ModelTreeObserver.dart
+++ b/tools/dom/src/ModelTreeObserver.dart
@@ -86,7 +86,7 @@ class _ModelTreeObserver {
.forEach((controller) => controller.add(node));
}
} catch (e, s) {
- new Future.immediateError(e, s);
+ new Future.error(e, s);
}
for (var child = node.$dom_firstChild; child != null;
child = child.nextNode) {
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698