Index: mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.cc |
diff --git a/mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.cc b/mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.cc |
index c11b37ab2d48f66eb26413d4975b0449119b62f0..017d3703dac793b3c5d327431270942357e1f305 100644 |
--- a/mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.cc |
+++ b/mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.cc |
@@ -116,10 +116,10 @@ bool StructTraits<test::StructWithTraits, test::StructWithTraitsImpl>::Read( |
} |
// static |
-bool StructTraits<test::PassByValueStructWithTraits, |
- test::PassByValueStructWithTraitsImpl>:: |
- Read(test::PassByValueStructWithTraits::DataView data, |
- test::PassByValueStructWithTraitsImpl* out) { |
+bool StructTraits<test::MoveOnlyStructWithTraits, |
+ test::MoveOnlyStructWithTraitsImpl>:: |
+ Read(test::MoveOnlyStructWithTraits::DataView data, |
+ test::MoveOnlyStructWithTraitsImpl* out) { |
out->get_mutable_handle() = data.TakeFHandle(); |
return true; |
} |