Index: mojo/public/cpp/bindings/tests/struct_with_traits_impl.cc |
diff --git a/mojo/public/cpp/bindings/tests/struct_with_traits_impl.cc b/mojo/public/cpp/bindings/tests/struct_with_traits_impl.cc |
index ee08ecf6ff7d1994e7e3718564a9335704639966..7e59d3bc602b4ba30d04b1b86c66a6fb78d8d237 100644 |
--- a/mojo/public/cpp/bindings/tests/struct_with_traits_impl.cc |
+++ b/mojo/public/cpp/bindings/tests/struct_with_traits_impl.cc |
@@ -4,8 +4,6 @@ |
#include "mojo/public/cpp/bindings/tests/struct_with_traits_impl.h" |
-#include "mojo/public/interfaces/bindings/tests/struct_with_traits.mojom.h" |
- |
namespace mojo { |
namespace test { |
@@ -14,16 +12,4 @@ StructWithTraitsImpl::StructWithTraitsImpl() {} |
StructWithTraitsImpl::~StructWithTraitsImpl() {} |
} // namespace test |
- |
-// static |
-bool StructTraits<test::StructWithTraits, test::StructWithTraitsImpl>::Read( |
- test::StructWithTraits_Reader r, |
- test::StructWithTraitsImpl* out) { |
- out->set_bool(r.f_bool()); |
- out->set_uint32(r.f_uint32()); |
- out->set_uint64(r.f_uint64()); |
- out->set_string(r.f_string().as_string()); |
- return true; |
-} |
- |
} // namespace mojo |