Chromium Code Reviews| Index: chrome/browser/crash_upload_list/crash_upload_list_crashpad.cc |
| diff --git a/chrome/browser/crash_upload_list/crash_upload_list_crashpad.cc b/chrome/browser/crash_upload_list/crash_upload_list_crashpad.cc |
| index af1bbec975d5a243f93351425f581263bc543e9f..a86ffb6bb189651415ac3bdca55cebfc024292d6 100644 |
| --- a/chrome/browser/crash_upload_list/crash_upload_list_crashpad.cc |
| +++ b/chrome/browser/crash_upload_list/crash_upload_list_crashpad.cc |
| @@ -22,7 +22,7 @@ typedef void (*GetCrashReportsPointer)( |
| void GetReportsThunk( |
| std::vector<crash_reporter::Report>* reports) { |
| static GetCrashReportsPointer get_crash_reports = []() { |
| - HMODULE exe_module = GetModuleHandle(chrome::kBrowserProcessExecutableName); |
| + HMODULE exe_module = GetModuleHandle(L"chrome_elf.dll"); |
|
robertshield
2016/06/22 04:09:32
exe_module should be renamed to elf_module and acc
ananta
2016/06/22 19:30:33
Added this comment.
The crash reporting is handled
|
| return reinterpret_cast<GetCrashReportsPointer>( |
| exe_module ? GetProcAddress(exe_module, "GetCrashReportsImpl") |
| : nullptr); |