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

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

Issue 1955123003: Mojo C++ bindings: switch the remaining callsites of the old serialization interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@24_union_and_others
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
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 1204a0a6ecf88223684ea88be06372e1f3da87c2..c5089023b19eafa3cdad6e65741426b3cc744203 100644
--- a/mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc
@@ -63,9 +63,9 @@ class SerializationWarningTest : public testing::Test {
mojo::internal::SerializationContext context;
mojo::internal::FixedBufferForTesting buf(
- GetSerializedSize_(obj, &context));
+ mojo::internal::PrepareToSerialize<TPtr>(obj, &context));
typename T::Data_* data;
- Serialize_(std::move(obj), &buf, &data, &context);
+ mojo::internal::Serialize<TPtr>(obj, &buf, &data, &context);
EXPECT_EQ(expected_warning, warning_observer_.last_warning());
}
« no previous file with comments | « mojo/public/cpp/bindings/lib/wtf_string_serialization.cc ('k') | mojo/public/cpp/bindings/tests/struct_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698