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

Unified Diff: lib/dom/templates/html/impl/impl_Node.darttemplate

Issue 10891022: Update corelib/ and lib/ to use the new try-catch syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « lib/dom/templates/html/dart2js/impl_Window.darttemplate ('k') | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/templates/html/impl/impl_Node.darttemplate
diff --git a/lib/dom/templates/html/impl/impl_Node.darttemplate b/lib/dom/templates/html/impl/impl_Node.darttemplate
index 019c59ce95ace16c7f617027a6cad98073cf6b2e..e9693dc1437d4b766922d68c333cdd921345c2bd 100644
--- a/lib/dom/templates/html/impl/impl_Node.darttemplate
+++ b/lib/dom/templates/html/impl/impl_Node.darttemplate
@@ -136,8 +136,8 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
try {
final _NodeImpl parent = this.parent;
parent.$dom_replaceChild(otherNode, this);
- } catch(var e) {
-
+ } catch (e) {
+
};
return this;
}
« no previous file with comments | « lib/dom/templates/html/dart2js/impl_Window.darttemplate ('k') | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698