| 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 b8eeaa64fc13d8df0a3277ae6148f5560906a0ba..fc0508c311738ac0e556e014b2e10271f023c90a 100644
|
| --- a/mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc
|
| +++ b/mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc
|
| @@ -44,7 +44,8 @@ class SerializationWarningTest : public testing::Test {
|
|
|
| protected:
|
| template <typename T>
|
| - void TestWarning(T obj, mojo::internal::ValidationError expected_warning) {
|
| + void TestWarning(StructPtr<T> obj,
|
| + mojo::internal::ValidationError expected_warning) {
|
| warning_observer_.set_last_warning(mojo::internal::VALIDATION_ERROR_NONE);
|
|
|
| mojo::internal::FixedBuffer buf(GetSerializedSize_(obj));
|
|
|