| 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 6c30e4aae558c47f86076fff56eaf0d081c5b6dd..502ed458cecb87002b70c121f104871f555cc3c4 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));
|
|
|