Chromium Code Reviews| Index: components/autofill/core/browser/autofill_manager.cc |
| diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc |
| index ed435aff699c716ce42fc7ca7cfcff891a52a4bb..ee8785873d59ccd27da6eb98aa1913fee6ebb2c7 100644 |
| --- a/components/autofill/core/browser/autofill_manager.cc |
| +++ b/components/autofill/core/browser/autofill_manager.cc |
| @@ -1057,7 +1057,7 @@ void AutofillManager::ImportFormData(const FormStructure& submitted_form) { |
| recently_autofilled_forms_.push_back( |
| std::map<std::string, base::string16>()); |
| auto& map = recently_autofilled_forms_.back(); |
| - for (const auto& field : submitted_form) { |
| + for (auto* field : submitted_form) { |
|
vabr (Chromium)
2016/07/19 07:54:08
optional: Make this "const auto*" to point out tha
vmpstr
2016/07/19 19:49:30
Done.
|
| AutofillType type = field->Type(); |
| // Even though this is for development only, mask full credit card #'s. |
| if (type.GetStorableType() == CREDIT_CARD_NUMBER && |