Fix a syntax error in webdriver.

Review URL: https://codereview.chromium.org//14077012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21527 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
nweiz@google.com 2013-04-15 23:11:58 +00:00
parent 2e0bba73fe
commit 3b97303e17

View file

@ -217,7 +217,7 @@ class WebDriverBase {
void _failRequest(Completer completer, error, [stackTrace]) {
if (completer != null) {
var trace = stackTrace != null ? stackTrace, getAttachedStackTrace(error);
var trace = stackTrace != null ? stackTrace : getAttachedStackTrace(error);
completer.completeError(new WebDriverError(-1, error), trace);
}
}