Index: third_party/crashpad/crashpad/minidump/minidump_file_writer.cc |
diff --git a/third_party/crashpad/crashpad/minidump/minidump_file_writer.cc b/third_party/crashpad/crashpad/minidump/minidump_file_writer.cc |
index 3e99d2a3932ea08c27c152f991a7db186af92371..5a34f59cb78dd4d3f8fe3181e970fe08947900d1 100644 |
--- a/third_party/crashpad/crashpad/minidump/minidump_file_writer.cc |
+++ b/third_party/crashpad/crashpad/minidump/minidump_file_writer.cc |
@@ -206,9 +206,8 @@ bool MinidumpFileWriter::AddUserExtensionStream( |
DCHECK_EQ(state(), kStateMutable); |
auto user_stream = base::WrapUnique(new MinidumpUserStreamWriter()); |
- user_stream->InitializeFromBuffer(user_extension_stream_data->stream_type(), |
- user_extension_stream_data->buffer(), |
- user_extension_stream_data->buffer_size()); |
+ user_stream->InitializeFromUserExtensionStream( |
+ std::move(user_extension_stream_data)); |
return AddStream(std::move(user_stream)); |
} |