summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/autofill/core/common/form_data.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/autofill/core/common/form_data.cc b/components/autofill/core/common/form_data.cc
index 2297e1a..534a231 100644
--- a/components/autofill/core/common/form_data.cc
+++ b/components/autofill/core/common/form_data.cc
@@ -24,7 +24,7 @@ bool ReadGURL(PickleIterator* iter, GURL* url) {
return true;
}
-void SerializeFormFieldDataVector(const std::vector<FormFieldData> fields,
+void SerializeFormFieldDataVector(const std::vector<FormFieldData>& fields,
Pickle* pickle) {
pickle->WriteInt(static_cast<int>(fields.size()));
for (size_t i = 0; i < fields.size(); ++i) {