diff options
Diffstat (limited to 'chrome/browser/autocomplete_history_manager.cc')
-rw-r--r-- | chrome/browser/autocomplete_history_manager.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/autocomplete_history_manager.cc b/chrome/browser/autocomplete_history_manager.cc index bbc3387..e93bd8c 100644 --- a/chrome/browser/autocomplete_history_manager.cc +++ b/chrome/browser/autocomplete_history_manager.cc @@ -119,11 +119,11 @@ void AutocompleteHistoryManager::OnFormSubmitted(const FormData& form) { for (std::vector<webkit_glue::FormField>::const_iterator iter = form.fields.begin(); iter != form.fields.end(); ++iter) { - if (!iter->value.empty() && - !iter->name.empty() && - iter->form_control_type == ASCIIToUTF16("text") && - !CreditCard::IsCreditCardNumber(iter->value) && - !IsSSN(iter->value)) + if (!iter->value().empty() && + !iter->name().empty() && + iter->form_control_type() == ASCIIToUTF16("text") && + !CreditCard::IsCreditCardNumber(iter->value()) && + !IsSSN(iter->value())) values.push_back(*iter); } |