| Index: chrome/common/safe_browsing/protobuf_message_param_traits.h
|
| diff --git a/chrome/common/safe_browsing/protobuf_message_param_traits.h b/chrome/common/safe_browsing/protobuf_message_param_traits.h
|
| index a935584d0d85edba03c0ba5edc01c6886a282db8..76613ce30d22f2660ec729b89ec9a4cc57e76814 100644
|
| --- a/chrome/common/safe_browsing/protobuf_message_param_traits.h
|
| +++ b/chrome/common/safe_browsing/protobuf_message_param_traits.h
|
| @@ -20,6 +20,12 @@ template <class Element>
|
| struct ParamTraits<google::protobuf::RepeatedPtrField<Element>> {
|
| typedef google::protobuf::RepeatedPtrField<Element> param_type;
|
|
|
| + static void GetSize(base::PickleSizer* s, const param_type& p) {
|
| + GetParamSize(s, p.size());
|
| + for (const auto& element : p)
|
| + GetParamSize(s, element);
|
| + }
|
| +
|
| static void Write(base::Pickle* m, const param_type& p) {
|
| WriteParam(m, p.size());
|
| for (const auto& element : p)
|
|
|