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

Unified Diff: mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc

Issue 1953493002: Mojo C++ bindings: custom type mapping for array - part 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@21_simplify
Patch Set: Created 4 years, 7 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/tests/map_unittest.cc ('k') | mojo/public/cpp/bindings/tests/union_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc b/mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc
index 481b77de67e50be08b943178c8d7e3467784f2de..1204a0a6ecf88223684ea88be06372e1f3da87c2 100644
--- a/mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc
@@ -78,9 +78,9 @@ class SerializationWarningTest : public testing::Test {
mojo::internal::SerializationContext context;
mojo::internal::FixedBufferForTesting buf(
- GetSerializedSize_(obj, &context));
+ mojo::internal::PrepareToSerialize<T>(obj, &context));
typename T::Data_* data;
- SerializeArray_(std::move(obj), &buf, &data, validate_params, &context);
+ mojo::internal::Serialize<T>(obj, &buf, &data, validate_params, &context);
EXPECT_EQ(expected_warning, warning_observer_.last_warning());
}
« no previous file with comments | « mojo/public/cpp/bindings/tests/map_unittest.cc ('k') | mojo/public/cpp/bindings/tests/union_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698