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

Unified Diff: win8/test/ui_automation_client.cc

Issue 768513003: Fixed return value in error path -- result instead of false. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/test/ui_automation_client.cc
diff --git a/win8/test/ui_automation_client.cc b/win8/test/ui_automation_client.cc
index 6f2793cad8f8afc06733b1ce5089854483d561c7..32d87f8f92892a962e442df1da1504127fefb7ee 100644
--- a/win8/test/ui_automation_client.cc
+++ b/win8/test/ui_automation_client.cc
@@ -377,7 +377,7 @@ HRESULT UIAutomationClient::Context::InvokeDesiredItem(
var.Reset();
if (FAILED(result)) {
LOG(ERROR) << std::hex << result;
- return false;
+ return result;
}
var.Set(item_name_.c_str());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698