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

Unified Diff: lib/html/src/Measurement.dart

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
Index: lib/html/src/Measurement.dart
diff --git a/lib/html/src/Measurement.dart b/lib/html/src/Measurement.dart
index 49bfffa67337f2e9b455d3b8829219f7721d7a8a..d68d4a0a57226a38ffae478e96a2ba765ebfb1f8 100644
--- a/lib/html/src/Measurement.dart
+++ b/lib/html/src/Measurement.dart
@@ -90,7 +90,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/html/src/AnimationEventWrappingImplementation.dart ('k') | lib/html/src/XMLElementWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698