Index: chrome/test/webdriver/commands/response.cc |
diff --git a/chrome/test/webdriver/commands/response.cc b/chrome/test/webdriver/commands/response.cc |
index 6b96bae2d8e7dc169fe669efd041060df02e3eb0..1c09d3953885bc08fc9fe39824ed5307434e2bfa 100644 |
--- a/chrome/test/webdriver/commands/response.cc |
+++ b/chrome/test/webdriver/commands/response.cc |
@@ -59,7 +59,7 @@ void Response::SetValue(Value* value) { |
void Response::SetError(Error* error) { |
DictionaryValue* error_dict = new DictionaryValue(); |
- error_dict->SetString(kMessageKey, error->GetMessage()); |
+ error_dict->SetString(kMessageKey, error->GetErrorMessage()); |
SetStatus(error->code()); |
SetValue(error_dict); |