| 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 d62973e34209172aa68e34df6a592eef45623a25..af1bbec975d5a243f93351425f581263bc543e9f 100644
|
| --- a/chrome/browser/crash_upload_list/crash_upload_list_crashpad.cc
|
| +++ b/chrome/browser/crash_upload_list/crash_upload_list_crashpad.cc
|
| @@ -22,11 +22,9 @@
|
| void GetReportsThunk(
|
| std::vector<crash_reporter::Report>* reports) {
|
| static GetCrashReportsPointer get_crash_reports = []() {
|
| - // The crash reporting is handled by chrome_elf.dll which loads early in
|
| - // the chrome process.
|
| - HMODULE elf_module = GetModuleHandle(chrome::kChromeElfDllName);
|
| + HMODULE exe_module = GetModuleHandle(chrome::kBrowserProcessExecutableName);
|
| return reinterpret_cast<GetCrashReportsPointer>(
|
| - elf_module ? GetProcAddress(elf_module, "GetCrashReportsImpl")
|
| + exe_module ? GetProcAddress(exe_module, "GetCrashReportsImpl")
|
| : nullptr);
|
| }();
|
|
|
|
|