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

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

Issue 11827017: Update remaining usages of Completer.completeException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 11 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 | « tests/standalone/io/file_invalid_arguments_test.dart ('k') | tools/html_json_doc/lib/html_to_json.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/src/Measurement.dart
diff --git a/tools/dom/src/Measurement.dart b/tools/dom/src/Measurement.dart
index 7d34e7b2db819ea7a865dcc9ef2a3f633e01f8d0..f664aacd0445442495c8dc85da4ef21c0ec028cd 100644
--- a/tools/dom/src/Measurement.dart
+++ b/tools/dom/src/Measurement.dart
@@ -184,7 +184,7 @@ void _completeMeasurementFutures() {
if (completedRequests != null) {
for (_MeasurementRequest request in completedRequests) {
if (request.exception) {
- request.completer.completeException(request.value);
+ request.completer.completeError(request.value);
} else {
request.completer.complete(request.value);
}
« no previous file with comments | « tests/standalone/io/file_invalid_arguments_test.dart ('k') | tools/html_json_doc/lib/html_to_json.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698