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

Unified Diff: utils/archive/input_stream.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 | « utils/archive/entry.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/archive/input_stream.dart
diff --git a/utils/archive/input_stream.dart b/utils/archive/input_stream.dart
index 877c769bcee236765757fdadc66deb644eb0d4aa..5f45fbd1d1cfea3d0487b641f4b3bcaebd738b8f 100644
--- a/utils/archive/input_stream.dart
+++ b/utils/archive/input_stream.dart
@@ -72,7 +72,7 @@ class ArchiveInputStream {
var result = <Future<CompleteArchiveEntry>>[];
this.onEntry = (entry) => result.add(entry.readAll());
- this.onError = (e, stack) => completer.completeException(e, stack);
+ this.onError = (e, stack) => completer.completeError(e, stack);
this.onClosed = () => completer.complete(result);
return completer.future.then(Futures.wait);
« no previous file with comments | « utils/archive/entry.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698