Index: components/autofill/core/browser/form_structure.cc |
diff --git a/components/autofill/core/browser/form_structure.cc b/components/autofill/core/browser/form_structure.cc |
index 6379bd70a6c8c95e35e32407a2e8b27775185c4b..294c35b9e9a1bf3f3d5132a0f99418401e0d5300 100644 |
--- a/components/autofill/core/browser/form_structure.cc |
+++ b/components/autofill/core/browser/form_structure.cc |
@@ -432,7 +432,7 @@ bool FormStructure::EncodeQueryRequest( |
// Some badly formatted web sites repeat forms - detect that and encode only |
// one form as returned data would be the same for all the repeated forms. |
std::set<std::string> processed_forms; |
- for (const auto& form : forms) { |
+ for (const auto* form : forms) { |
std::string signature(form->FormSignature()); |
if (processed_forms.find(signature) != processed_forms.end()) |
continue; |