Index: chrome/browser/autofill/form_field.cc |
diff --git a/chrome/browser/autofill/form_field.cc b/chrome/browser/autofill/form_field.cc |
index 4de1c802b1010006576d78ec04fdbe692775a2c4..76ecb8758a5c94a6f0a3a8a5ff9b442ac87ab2ab 100644 |
--- a/chrome/browser/autofill/form_field.cc |
+++ b/chrome/browser/autofill/form_field.cc |
@@ -27,20 +27,20 @@ |
namespace { |
-bool IsTextField(const string16& type) { |
- return type == ASCIIToUTF16("text"); |
+bool IsTextField(const std::string& type) { |
+ return type == "text"; |
} |
-bool IsEmailField(const string16& type) { |
- return type == ASCIIToUTF16("email"); |
+bool IsEmailField(const std::string& type) { |
+ return type == "email"; |
} |
-bool IsTelephoneField(const string16& type) { |
- return type == ASCIIToUTF16("tel"); |
+bool IsTelephoneField(const std::string& type) { |
+ return type == "tel"; |
} |
-bool IsSelectField(const string16& type) { |
- return type == ASCIIToUTF16("select-one"); |
+bool IsSelectField(const std::string& type) { |
+ return type == "select-one"; |
} |
} // namespace |