| Index: mojo/public/cpp/bindings/tests/union_unittest.cc
|
| diff --git a/mojo/public/cpp/bindings/tests/union_unittest.cc b/mojo/public/cpp/bindings/tests/union_unittest.cc
|
| index afdfbbfd065a627ea0c86585ecc90c33e2758bae..13f3b5e34d8622850f4b2d7e2e66f38020722021 100644
|
| --- a/mojo/public/cpp/bindings/tests/union_unittest.cc
|
| +++ b/mojo/public/cpp/bindings/tests/union_unittest.cc
|
| @@ -663,8 +663,7 @@ TEST(UnionTest, Deserialize_NullableUnion) {
|
| EXPECT_TRUE(small_struct->pod_union.is_null());
|
|
|
| SmallStructPtr deserialized_struct = SmallStruct::New();
|
| - deserialized_struct->Deserialize(buf);
|
| -
|
| + EXPECT_TRUE(deserialized_struct->Deserialize(buf, sizeof(buf)));
|
| EXPECT_TRUE(deserialized_struct->pod_union.is_null());
|
| }
|
|
|
|
|