| 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());
|
| }
|
|
|