Index: chrome/app/chrome_main.cc |
diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc |
index 0ad602abf0cfccd9dab0605d129817b9bf2dbc9a..15d1e16551ce8a0847d1bd00a5686e64da59e9d1 100644 |
--- a/chrome/app/chrome_main.cc |
+++ b/chrome/app/chrome_main.cc |
@@ -62,8 +62,9 @@ int ChromeMain(int argc, const char** argv) { |
// function correctly. |
typedef void (__cdecl *DumpProcessFunction)(); |
DumpProcessFunction DumpProcess = reinterpret_cast<DumpProcessFunction>( |
- ::GetProcAddress(::GetModuleHandle(chrome::kBrowserProcessExecutableName), |
+ ::GetProcAddress(::GetModuleHandle(chrome::kChromeElfDllName), |
"DumpProcessWithoutCrash")); |
+ CHECK(DumpProcess); |
base::debug::SetDumpWithoutCrashingFunction(DumpProcess); |
#else |
params.argc = argc; |