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

Unified Diff: pkg/webdriver/lib/webdriver.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 | « no previous file | runtime/lib/mirrors_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/webdriver/lib/webdriver.dart
diff --git a/pkg/webdriver/lib/webdriver.dart b/pkg/webdriver/lib/webdriver.dart
index 0dbbae4dbb4ed8d947196a916837205cf8569e13..837836bd4c49944df5e550f69392d0864bd773d6 100644
--- a/pkg/webdriver/lib/webdriver.dart
+++ b/pkg/webdriver/lib/webdriver.dart
@@ -263,7 +263,7 @@ class WebDriverBase {
};
connection.onError = (e) {
if (completer != null) {
- completer.completeException(new WebDriverError(-1, e));
+ completer.completeError(new WebDriverError(-1, e));
completer = null;
}
};
@@ -320,7 +320,7 @@ class WebDriverBase {
};
};
} catch (e, s) {
- completer.completeException(
+ completer.completeError(
new WebDriverError(-1, e), s);
completer = null;
}
« no previous file with comments | « no previous file | runtime/lib/mirrors_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698