Chromium Code Reviews| Index: mojo/public/cpp/bindings/lib/map_serialization.h |
| diff --git a/mojo/public/cpp/bindings/lib/map_serialization.h b/mojo/public/cpp/bindings/lib/map_serialization.h |
| index 60b6364fb4a310a7d2b667ff9657dec996d972f5..7e89d9f53dbb2152e17b91cf48dc6d4bbc5fd557 100644 |
| --- a/mojo/public/cpp/bindings/lib/map_serialization.h |
| +++ b/mojo/public/cpp/bindings/lib/map_serialization.h |
| @@ -107,13 +107,13 @@ struct Serializer<Map<Key, Value>, MaybeConstUserType> { |
| return struct_overhead + keys_size + values_size; |
| } |
| - // We don't need an ArrayValidateParams instance for key validation since |
| + // We don't need an ContainerValidateParams instance for key validation since |
|
yzshen1
2016/06/02 19:57:03
Please remove this comment. It is outdated.
tibell
2016/06/03 00:01:30
Done.
|
| // we can deduce it from the Key type. (which can only be primitive types or |
| // non-nullable strings.) |
| static void Serialize(MaybeConstUserType& input, |
| Buffer* buf, |
| Data** output, |
| - const ArrayValidateParams* validate_params, |
| + const ContainerValidateParams* validate_params, |
| SerializationContext* context) { |
| DCHECK(validate_params->key_validate_params); |
| DCHECK(validate_params->element_validate_params); |