Index: trunk/src/chrome/test/chromedriver/element_util.cc |
=================================================================== |
--- trunk/src/chrome/test/chromedriver/element_util.cc (revision 289319) |
+++ trunk/src/chrome/test/chromedriver/element_util.cc (working copy) |
@@ -338,12 +338,10 @@ |
if (status.IsError()) |
return status; |
std::string actual_value; |
- if (result->GetAsString(&actual_value)) { |
- *is_equal = |
- base::LowerCaseEqualsASCII(actual_value, attribute_value.c_str()); |
- } else { |
+ if (result->GetAsString(&actual_value)) |
+ *is_equal = LowerCaseEqualsASCII(actual_value, attribute_value.c_str()); |
+ else |
*is_equal = false; |
- } |
return status; |
} |