Index: components/autofill/content/common/autofill_types_struct_traits.h |
diff --git a/components/autofill/content/common/autofill_types_struct_traits.h b/components/autofill/content/common/autofill_types_struct_traits.h |
index 934f8801855eaba0a26b73d8c605cb8bd649beb2..a9785e39848218772f7733c2a40170f09d3ced67 100644 |
--- a/components/autofill/content/common/autofill_types_struct_traits.h |
+++ b/components/autofill/content/common/autofill_types_struct_traits.h |
@@ -96,6 +96,10 @@ struct StructTraits<autofill::mojom::FormFieldDataDataView, |
return r.name; |
} |
+ static const base::string16& id(const autofill::FormFieldData& r) { |
+ return r.id; |
+ } |
+ |
static const base::string16& value(const autofill::FormFieldData& r) { |
return r.value; |
} |