| Index: third_party/crashpad/crashpad/handler/win/hanging_program.cc
|
| diff --git a/third_party/crashpad/crashpad/handler/win/hanging_program.cc b/third_party/crashpad/crashpad/handler/win/hanging_program.cc
|
| index 877578e3972e167187ec9b963072373e7ae7b73b..638766343664200eaccaae7f3878d32ac165cf27 100644
|
| --- a/third_party/crashpad/crashpad/handler/win/hanging_program.cc
|
| +++ b/third_party/crashpad/crashpad/handler/win/hanging_program.cc
|
| @@ -22,6 +22,9 @@
|
| #include "client/crashpad_info.h"
|
|
|
| DWORD WINAPI Thread1(LPVOID dummy) {
|
| + // We set the thread priority up by one as a hacky way to signal to the other
|
| + // test program that this is the thread we want to dump.
|
| + SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_ABOVE_NORMAL);
|
| Sleep(INFINITE);
|
| return 0;
|
| }
|
| @@ -56,11 +59,6 @@ int wmain(int argc, wchar_t* argv[]) {
|
| return EXIT_FAILURE;
|
| }
|
|
|
| - if (!client.UseHandler()) {
|
| - LOG(ERROR) << "UseHandler";
|
| - return EXIT_FAILURE;
|
| - }
|
| -
|
| // Make sure this module has a CrashpadInfo structure.
|
| crashpad::CrashpadInfo* crashpad_info =
|
| crashpad::CrashpadInfo::GetCrashpadInfo();
|
|
|