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

Unified Diff: mojo/public/cpp/bindings/lib/native_struct_serialization.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
« no previous file with comments | « mojo/public/cpp/bindings/lib/native_struct_data.cc ('k') | mojo/public/cpp/bindings/lib/validate_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, &params,
context);
*output = reinterpret_cast<NativeStruct_Data*>(data);
« no previous file with comments | « mojo/public/cpp/bindings/lib/native_struct_data.cc ('k') | mojo/public/cpp/bindings/lib/validate_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698