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

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

Issue 14251006: Remove AsyncError with Expando. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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 | « tools/dom/src/EventStreamProvider.dart ('k') | tools/testing/dart/drt_updater.dart » ('j') | 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 f0557956df465bb39ef9c2dc7be56f2e63c441bc..30408ad9d0e451ed42758901c14b89b46d6bea72 100644
--- a/tools/dom/src/ModelTreeObserver.dart
+++ b/tools/dom/src/ModelTreeObserver.dart
@@ -83,10 +83,8 @@ class _ModelTreeObserver {
node._model = model;
node._modelChangedStream.add(node);
}
- } on AsyncError catch (e) {
- e.throwDelayed();
} catch (e, s) {
- new AsyncError(e, s).throwDelayed();
+ new Future.immediateError(e, s);
}
for (var child = node.$dom_firstChild; child != null;
child = child.nextNode) {
« no previous file with comments | « tools/dom/src/EventStreamProvider.dart ('k') | tools/testing/dart/drt_updater.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698