summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/autofill_profile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autofill/autofill_profile.cc')
-rw-r--r--chrome/browser/autofill/autofill_profile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autofill/autofill_profile.cc b/chrome/browser/autofill/autofill_profile.cc
index f1889c0..f60e640 100644
--- a/chrome/browser/autofill/autofill_profile.cc
+++ b/chrome/browser/autofill/autofill_profile.cc
@@ -297,7 +297,7 @@ void AutoFillProfile::CreateInferredLabels(
fields.push_back(fields_to_use[i]);
} else if (added_fields < minimal_fields_shown &&
exclude_field != fields_to_use[i] &&
- !label_iterator->first.empty()) {
+ !tested_fields[i].count(string16())) {
fields.push_back(fields_to_use[i]);
first_non_empty_fields.push_back(fields_to_use[i]);
++added_fields;