Index: mojo/public/cpp/bindings/lib/native_struct_serialization.cc |
diff --git a/mojo/public/cpp/bindings/lib/native_struct_serialization.cc b/mojo/public/cpp/bindings/lib/native_struct_serialization.cc |
index fe65f147c619de5834fd444220f1e540909fcca1..ac06059e42848396dca01012b17e647734d2e7db 100644 |
--- a/mojo/public/cpp/bindings/lib/native_struct_serialization.cc |
+++ b/mojo/public/cpp/bindings/lib/native_struct_serialization.cc |
@@ -30,7 +30,7 @@ void UnmappedNativeStructSerializerImpl::Serialize( |
} |
Array_Data<uint8_t>* data = nullptr; |
- const ArrayValidateParams params(0, false, nullptr); |
+ const ContainerValidateParams params(0, false, nullptr); |
internal::Serialize<Array<uint8_t>>(input->data, buffer, &data, ¶ms, |
context); |
*output = reinterpret_cast<NativeStruct_Data*>(data); |