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

Unified Diff: tools/html_json_doc/lib/html_to_json.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 | « tools/dom/src/Measurement.dart ('k') | tools/release/version.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/html_json_doc/lib/html_to_json.dart
diff --git a/tools/html_json_doc/lib/html_to_json.dart b/tools/html_json_doc/lib/html_to_json.dart
index 718cf94a6717a1f5f9111756e75c31af1ed167e7..4abb3529e122d0313b4d6aed66cc12a86b311976 100644
--- a/tools/html_json_doc/lib/html_to_json.dart
+++ b/tools/html_json_doc/lib/html_to_json.dart
@@ -58,8 +58,8 @@ Future<bool> convert(Path htmlPath, Path jsonPath) {
outputStream.onClosed = () {
completer.complete(_anyErrors);
};
-
- outputStream.onError = completer.completeException;
+
+ outputStream.onError = completer.completeError;
});
return completer.future;
« no previous file with comments | « tools/dom/src/Measurement.dart ('k') | tools/release/version.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698