| 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 87094602ca5086fd38de00dcfba6ec8b9fe19916..86dc98b27dfd96139399284d9feeaf5a3fa8c351 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));
|
|
|