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..02f1bf250d6426b2ace49b3e2226ebf21ebbc22b 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 (auto* form : forms) { |
vabr (Chromium)
2016/07/19 07:54:09
optional: Could we make this "const auto*" to clar
vmpstr
2016/07/19 19:49:31
Done.
|
std::string signature(form->FormSignature()); |
if (processed_forms.find(signature) != processed_forms.end()) |
continue; |