Index: components/autofill/content/renderer/password_form_conversion_utils.cc |
diff --git a/components/autofill/content/renderer/password_form_conversion_utils.cc b/components/autofill/content/renderer/password_form_conversion_utils.cc |
index 538b602ba21eb6ef48a1e916c0e9d55b6b4c72a8..7650bd35ddf87064bd28ff484f505471352f0435 100644 |
--- a/components/autofill/content/renderer/password_form_conversion_utils.cc |
+++ b/components/autofill/content/renderer/password_form_conversion_utils.cc |
@@ -26,8 +26,9 @@ namespace { |
// |element| is present and has the specified |value_in_lowercase|. |
bool HasAutocompleteAttributeValue(const WebInputElement& element, |
const char* value_in_lowercase) { |
- return LowerCaseEqualsASCII(element.getAttribute("autocomplete"), |
- value_in_lowercase); |
+ return base::LowerCaseEqualsASCII( |
+ base::string16(element.getAttribute("autocomplete")), |
+ value_in_lowercase); |
} |
// Helper to determine which password is the main (current) one, and which is |