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

Unified Diff: lib/html/dart2js/html_dart2js.dart

Side-by-side diff isn't available for this file because of its large size.
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, 3 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 | « lib/dom/templates/html/impl/impl_Node.darttemplate ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dart2js/html_dart2js.dart
diff --git a/lib/html/dart2js/html_dart2js.dart b/lib/html/dart2js/html_dart2js.dart
index 5062b2e6e2fb91a5853b3c01214ccf9ab35e1e96..dd6418f9ec072e7916d3551272e209e854c8ebde 100644
--- a/lib/html/dart2js/html_dart2js.dart
+++ b/lib/html/dart2js/html_dart2js.dart
@@ -10223,8 +10223,8 @@ class _NodeImpl extends _EventTargetImpl implements Node native "*Node" {
try {
final _NodeImpl parent = this.parent;
parent.$dom_replaceChild(otherNode, this);
- } catch(var e) {
-
+ } catch (e) {
+
};
return this;
}
@@ -17366,7 +17366,7 @@ class _WindowImpl extends _EventTargetImpl implements Window native "@*DOMWindow
// stub on Object.prototype and throws an exception.
try {
return thing is Location;
- } catch (var e) {
+ } catch (e) {
return false;
}
}
@@ -38307,7 +38307,7 @@ void _completeMeasurementFutures() {
for (_MeasurementRequest request in _pendingRequests) {
try {
request.value = request.computeValue();
- } catch(var e) {
+ } catch (e) {
request.value = e;
request.exception = true;
}
« no previous file with comments | « lib/dom/templates/html/impl/impl_Node.darttemplate ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698