diff options
author | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-15 04:39:23 +0000 |
---|---|---|
committer | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-15 04:39:23 +0000 |
commit | 5cc9fd8378adacb9b2a2cf7b33959c25c41a2f13 (patch) | |
tree | 8cbcaf9b1c049db3945e115943f70a3a21fd682a /chrome/browser/autofill | |
parent | cc8fb981287f412e2cf3e47f963728053fbe0643 (diff) | |
download | chromium_src-5cc9fd8378adacb9b2a2cf7b33959c25c41a2f13.zip chromium_src-5cc9fd8378adacb9b2a2cf7b33959c25c41a2f13.tar.gz chromium_src-5cc9fd8378adacb9b2a2cf7b33959c25c41a2f13.tar.bz2 |
Try to always show a label with autofill suggestions.
This is mostly relevant when there are duplicate suggestions.
BUG=65133
TEST=none
Review URL: http://codereview.chromium.org/5851001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69230 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill')
-rw-r--r-- | chrome/browser/autofill/autofill_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autofill/autofill_manager.cc b/chrome/browser/autofill/autofill_manager.cc index 1fd4a3a..e74f6b3 100644 --- a/chrome/browser/autofill/autofill_manager.cc +++ b/chrome/browser/autofill/autofill_manager.cc @@ -605,7 +605,7 @@ void AutoFillManager::GetProfileSuggestions(FormStructure* form, form_fields.push_back((*iter)->type()); } - AutoFillProfile::CreateInferredLabels(&matched_profiles, labels, 0, + AutoFillProfile::CreateInferredLabels(&matched_profiles, labels, 1, type.field_type(), &form_fields); // No icons for profile suggestions. |