Index: client/crashpad_client_win.cc |
diff --git a/client/crashpad_client_win.cc b/client/crashpad_client_win.cc |
index 3e10900530cc0bb8269d52ad5bd4d02e85b9191e..2277f42939e61a95711f5778705a81cf86fd995c 100644 |
--- a/client/crashpad_client_win.cc |
+++ b/client/crashpad_client_win.cc |
@@ -61,12 +61,14 @@ LONG WINAPI UnhandledExceptionHandler(EXCEPTION_POINTERS* exception_pointers) { |
// Otherwise, we're the first thread, so record the exception pointer and |
// signal the crash handler. |
+ crashpad::CrashpadInfo::GetCrashpadInfo()->set_thread_id( |
+ GetCurrentThreadId()); |
crashpad::CrashpadInfo::GetCrashpadInfo()->set_exception_pointers( |
exception_pointers); |
DWORD rv = SignalObjectAndWait(g_signal_exception, |
g_wait_termination, |
kMillisecondsUntilTerminate, |
- FALSE); |
+ false); |
if (rv != WAIT_OBJECT_0) { |
// Something went wrong. It is likely that a dump has not been created. |
if (rv == WAIT_TIMEOUT) { |