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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.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
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 1b64b25106f962ea30452a445919a63542b8c11c..d69dd9bd9223d3863e7c9f1fd85798d54124418d 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -26044,7 +26044,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 | « sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698