Index: minidump/minidump_memory_writer.cc |
diff --git a/minidump/minidump_memory_writer.cc b/minidump/minidump_memory_writer.cc |
index cd8d33e4f631f051dbcea3cdfd76c881182ac5bb..5857dbcf1b1b5075c230c0e694ee7cfca1f29e92 100644 |
--- a/minidump/minidump_memory_writer.cc |
+++ b/minidump/minidump_memory_writer.cc |
@@ -163,8 +163,8 @@ bool MinidumpMemoryListWriter::WriteObject(FileWriterInterface* file_writer) { |
std::vector<WritableIoVec> iovecs(1, iov); |
for (const MinidumpMemoryWriter* memory_writer : memory_writers_) { |
- iov.iov_len = sizeof(MINIDUMP_MEMORY_DESCRIPTOR); |
iov.iov_base = memory_writer->MinidumpMemoryDescriptor(); |
+ iov.iov_len = sizeof(MINIDUMP_MEMORY_DESCRIPTOR); |
iovecs.push_back(iov); |
} |