Index: mojo/public/cpp/bindings/lib/validation_util.h |
diff --git a/mojo/public/cpp/bindings/lib/validation_util.h b/mojo/public/cpp/bindings/lib/validation_util.h |
index ffb62280641fef64fbac90a2048047e41be97161..5f7dc3781fad0a1d107dc59ccd3110518641d9bd 100644 |
--- a/mojo/public/cpp/bindings/lib/validation_util.h |
+++ b/mojo/public/cpp/bindings/lib/validation_util.h |
@@ -91,7 +91,7 @@ bool ValidateInterfaceIdNonNullable(InterfaceId input, |
template <typename T> |
bool ValidateArray(const Pointer<Array_Data<T>>& input, |
BoundsChecker* bounds_checker, |
- const ArrayValidateParams* validate_params) { |
+ const ContainerValidateParams* validate_params) { |
if (!ValidateEncodedPointer(&input.offset)) { |
ReportValidationError(VALIDATION_ERROR_ILLEGAL_POINTER); |
return false; |
@@ -104,7 +104,7 @@ bool ValidateArray(const Pointer<Array_Data<T>>& input, |
template <typename T> |
bool ValidateMap(const Pointer<T>& input, |
BoundsChecker* bounds_checker, |
- const ArrayValidateParams* validate_params) { |
+ const ContainerValidateParams* validate_params) { |
if (!ValidateEncodedPointer(&input.offset)) { |
ReportValidationError(VALIDATION_ERROR_ILLEGAL_POINTER); |
return false; |