| 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..7d78c6cb53309f0e07fcec51b07238ebcbbcdda7 100644
|
| --- a/chrome/common/safe_browsing/protobuf_message_param_traits.h
|
| +++ b/chrome/common/safe_browsing/protobuf_message_param_traits.h
|
| @@ -21,9 +21,9 @@ struct ParamTraits<google::protobuf::RepeatedPtrField<Element>> {
|
| typedef google::protobuf::RepeatedPtrField<Element> param_type;
|
|
|
| static void Write(base::Pickle* m, const param_type& p) {
|
| - WriteParam(m, p.size());
|
| + WriteParam(m, static_cast<int>(p.size()));
|
| for (const auto& element : p)
|
| - WriteParam(m, element);
|
| + WriteParam<Element>(m, element);
|
| }
|
|
|
| static bool Read(const base::Pickle* m,
|
|
|