Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1272)

Unified Diff: mojo/public/cpp/bindings/lib/native_struct_data.cc

Issue 2030873002: Mojo C++ bindings: rename ArrayValidateParams for clarity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cc-enums
Patch Set: Rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/cpp/bindings/lib/native_struct_data.cc
diff --git a/mojo/public/cpp/bindings/lib/native_struct_data.cc b/mojo/public/cpp/bindings/lib/native_struct_data.cc
index 1d6bf6f873f166918125817b0fd7597560c06291..57f183593fdf51772fb9134df2a495fd083a35ba 100644
--- a/mojo/public/cpp/bindings/lib/native_struct_data.cc
+++ b/mojo/public/cpp/bindings/lib/native_struct_data.cc
@@ -13,7 +13,7 @@ namespace internal {
// static
bool NativeStruct_Data::Validate(const void* data,
BoundsChecker* bounds_checker) {
- const ArrayValidateParams data_validate_params(0, false, nullptr);
+ const ContainerValidateParams data_validate_params(0, false, nullptr);
return Array_Data<uint8_t>::Validate(data, bounds_checker,
&data_validate_params);
}
« no previous file with comments | « mojo/public/cpp/bindings/lib/map_serialization.h ('k') | mojo/public/cpp/bindings/lib/native_struct_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698