diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-10 03:06:54 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-10 03:06:54 +0000 |
commit | fb856c7c3b8ed71b0d15cbe08ef4ca35eb79abd3 (patch) | |
tree | 37bdfc77e78080fe596f556a5761f6d16188eb5d /chrome/browser/autofill/autofill_field.cc | |
parent | 3242bbfed6822cc22d8154a80c34c3127e692032 (diff) | |
download | chromium_src-fb856c7c3b8ed71b0d15cbe08ef4ca35eb79abd3.zip chromium_src-fb856c7c3b8ed71b0d15cbe08ef4ca35eb79abd3.tar.gz chromium_src-fb856c7c3b8ed71b0d15cbe08ef4ca35eb79abd3.tar.bz2 |
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.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/602008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38570 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_field.cc')
-rw-r--r-- | chrome/browser/autofill/autofill_field.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autofill/autofill_field.cc b/chrome/browser/autofill/autofill_field.cc index e48d0a4..68dc91e 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(html_input_type()); + std::string type = UTF16ToUTF8(form_control_type()); std::string field_string = field_name + "&" + type; return Hash32Bit(field_string); } |