Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2302)

Unified Diff: chrome/browser/autofill/autofill_manager.cc

Issue 5851001: Try to always show a label with autofill suggestions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_manager.cc
diff --git a/chrome/browser/autofill/autofill_manager.cc b/chrome/browser/autofill/autofill_manager.cc
index 1fd4a3ad86a913c6645937634c0aeaabb350b584..e74f6b3dfd9fd5768a4f5c5d059de5c32ff621b7 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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698