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

Unified Diff: third_party/crashpad/crashpad/snapshot/win/thread_snapshot_win.cc

Issue 1921833002: Update Crashpad to 00d458adaf3868999eeab5341fce5bedb81d17a1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win fixes Created 4 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/snapshot/win/thread_snapshot_win.cc
diff --git a/third_party/crashpad/crashpad/snapshot/win/thread_snapshot_win.cc b/third_party/crashpad/crashpad/snapshot/win/thread_snapshot_win.cc
index a240eb2a4742d226dedc994c8d8f332ced3e6266..8b86730c125b1643b9d1b9b3302b0a38b0b7f175 100644
--- a/third_party/crashpad/crashpad/snapshot/win/thread_snapshot_win.cc
+++ b/third_party/crashpad/crashpad/snapshot/win/thread_snapshot_win.cc
@@ -40,7 +40,7 @@ ThreadSnapshotWin::~ThreadSnapshotWin() {
bool ThreadSnapshotWin::Initialize(
ProcessReaderWin* process_reader,
const ProcessReaderWin::Thread& process_reader_thread,
- bool gather_indirectly_referenced_memory) {
+ uint32_t* gather_indirectly_referenced_memory_bytes_remaining) {
INITIALIZATION_STATE_SET_INITIALIZING(initialized_);
thread_ = process_reader_thread;
@@ -79,10 +79,14 @@ bool ThreadSnapshotWin::Initialize(
#endif // ARCH_CPU_X86_64
CaptureMemoryDelegateWin capture_memory_delegate(
- process_reader, thread_, &pointed_to_memory_);
+ process_reader,
+ thread_,
+ &pointed_to_memory_,
+ gather_indirectly_referenced_memory_bytes_remaining);
CaptureMemory::PointedToByContext(context_, &capture_memory_delegate);
- if (gather_indirectly_referenced_memory)
+ if (gather_indirectly_referenced_memory_bytes_remaining) {
CaptureMemory::PointedToByMemoryRange(stack_, &capture_memory_delegate);
+ }
INITIALIZATION_STATE_SET_VALID(initialized_);
return true;
« no previous file with comments | « third_party/crashpad/crashpad/snapshot/win/thread_snapshot_win.h ('k') | third_party/crashpad/crashpad/util/util.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698