| Index: chrome/browser/hang_monitor/hang_crash_dump_win.cc
|
| diff --git a/chrome/browser/hang_monitor/hang_crash_dump_win.cc b/chrome/browser/hang_monitor/hang_crash_dump_win.cc
|
| index 64daaf4e3cc41fceadef1d2764d468858d758228..456aa389cff48f8e0b0df454eb3cfeefb9338987 100644
|
| --- a/chrome/browser/hang_monitor/hang_crash_dump_win.cc
|
| +++ b/chrome/browser/hang_monitor/hang_crash_dump_win.cc
|
| @@ -25,7 +25,7 @@
|
| static DumpFunction request_dump = NULL;
|
| if (!request_dump) {
|
| request_dump = reinterpret_cast<DumpFunction>(GetProcAddress(
|
| - GetModuleHandle(chrome::kChromeElfDllName),
|
| + GetModuleHandle(chrome::kBrowserProcessExecutableName),
|
| "InjectDumpProcessWithoutCrash"));
|
| DCHECK(request_dump) << "Failed loading DumpProcessWithoutCrash: error " <<
|
| GetLastError();
|
| @@ -49,7 +49,7 @@
|
| if (hprocess == GetCurrentProcess()) {
|
| typedef void (__cdecl *DumpFunction)();
|
| DumpFunction request_dump = reinterpret_cast<DumpFunction>(GetProcAddress(
|
| - GetModuleHandle(chrome::kChromeElfDllName),
|
| + GetModuleHandle(chrome::kBrowserProcessExecutableName),
|
| "DumpProcessWithoutCrash"));
|
| DCHECK(request_dump) << "Failed loading DumpProcessWithoutCrash: error " <<
|
| GetLastError();
|
| @@ -58,7 +58,7 @@
|
| } else {
|
| typedef HANDLE (__cdecl *DumpFunction)(HANDLE);
|
| DumpFunction request_dump = reinterpret_cast<DumpFunction>(GetProcAddress(
|
| - GetModuleHandle(chrome::kChromeElfDllName),
|
| + GetModuleHandle(chrome::kBrowserProcessExecutableName),
|
| "InjectDumpForHangDebugging"));
|
| DCHECK(request_dump) << "Failed loading InjectDumpForHangDebugging: error "
|
| << GetLastError();
|
|
|