summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-10 03:59:11 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-10 03:59:11 +0000
commita151aa05cb2beecdb9f92a108ff78fa11ea9ce2e (patch)
treea58db79ec08d6fc45827106bc9aa2c5e2434ac52 /chrome/browser/autofill
parent56aaac0fa20bf3033f12f71a920431db1c7f0cc5 (diff)
downloadchromium_src-a151aa05cb2beecdb9f92a108ff78fa11ea9ce2e.zip
chromium_src-a151aa05cb2beecdb9f92a108ff78fa11ea9ce2e.tar.gz
chromium_src-a151aa05cb2beecdb9f92a108ff78fa11ea9ce2e.tar.bz2
Revert "Move conditions of FormFields creation to FormFieldHistoryManager;
AutoFill does not have the same conditions. This required manipulating the FormField data structure to add necessary field data." This reverts commit r38570. TBR=jhawkins Review URL: http://codereview.chromium.org/602014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38573 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill')
-rw-r--r--chrome/browser/autofill/autofill_field.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autofill/autofill_field.cc b/chrome/browser/autofill/autofill_field.cc
index 68dc91e..e48d0a4 100644
--- a/chrome/browser/autofill/autofill_field.cc
+++ b/chrome/browser/autofill/autofill_field.cc
@@ -51,7 +51,7 @@ bool AutoFillField::IsEmpty() const {
std::string AutoFillField::FieldSignature() const {
std::string field_name = UTF16ToUTF8(name());
- std::string type = UTF16ToUTF8(form_control_type());
+ std::string type = UTF16ToUTF8(html_input_type());
std::string field_string = field_name + "&" + type;
return Hash32Bit(field_string);
}