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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
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:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/src/ModelTreeObserver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 54a2cabf460c4b769c40a52da49f1801ac266939..cb67dad5761ac5bf5b893c8a1477338732c5e3fa 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -32862,7 +32862,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/dart2js/html_dart2js.dart ('k') | tools/dom/src/ModelTreeObserver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698