Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: third_party/crashpad/crashpad/minidump/minidump_file_writer.cc

Issue 2814043003: Update Crashpad to 1f28a123a4c9449e3d7ddad4ff00dacd366d5216 (Closed)
Patch Set: Add missing GN config to fix compile/link. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
}

Powered by Google App Engine
This is Rietveld 408576698