Index: minidump/minidump_location_descriptor_list_writer_test.cc |
diff --git a/minidump/minidump_location_descriptor_list_writer_test.cc b/minidump/minidump_location_descriptor_list_writer_test.cc |
index e193078b1ff9c4c6957191ae045883450cd15840..f831083c157f41b85b27bf13a741f2ea1f1dec2f 100644 |
--- a/minidump/minidump_location_descriptor_list_writer_test.cc |
+++ b/minidump/minidump_location_descriptor_list_writer_test.cc |
@@ -24,30 +24,6 @@ namespace crashpad { |
namespace test { |
namespace { |
-class TestMinidumpWritable final : public internal::MinidumpWritable { |
- public: |
- explicit TestMinidumpWritable(uint32_t value) |
- : MinidumpWritable(), |
- value_(value) { |
- } |
- |
- ~TestMinidumpWritable() override {} |
- |
- protected: |
- // MinidumpWritable: |
- |
- size_t SizeOfObject() override { return sizeof(value_); } |
- |
- bool WriteObject(FileWriterInterface* file_writer) override { |
- return file_writer->Write(&value_, sizeof(value_)); |
- } |
- |
- private: |
- uint32_t value_; |
- |
- DISALLOW_COPY_AND_ASSIGN(TestMinidumpWritable); |
-}; |
- |
class TestMinidumpLocationDescriptorListWriter final |
: public MinidumpLocationDescriptorListWriter { |
public: |
@@ -58,7 +34,7 @@ class TestMinidumpLocationDescriptorListWriter final |
~TestMinidumpLocationDescriptorListWriter() override {} |
void AddChild(uint32_t value) { |
- auto child = make_scoped_ptr(new TestMinidumpWritable(value)); |
+ auto child = make_scoped_ptr(new TestUInt32MinidumpWritable(value)); |
MinidumpLocationDescriptorListWriter::AddChild(child.Pass()); |
} |