| Index: chrome/browser/chrome_browser_main_win.cc
|
| diff --git a/chrome/browser/chrome_browser_main_win.cc b/chrome/browser/chrome_browser_main_win.cc
|
| index fc8dfe7b7b6e7f86c2fcebb303ba005bbfe1ce14..a87834b8cac4e210ce0221f5ff5c89cebede0ad3 100644
|
| --- a/chrome/browser/chrome_browser_main_win.cc
|
| +++ b/chrome/browser/chrome_browser_main_win.cc
|
| @@ -83,10 +83,9 @@ typedef HRESULT (STDAPICALLTYPE* RegisterApplicationRestartProc)(
|
| void InitializeWindowProcExceptions() {
|
| // Get the breakpad pointer from chrome.exe
|
| base::win::WinProcExceptionFilter exception_filter =
|
| - reinterpret_cast<base::win::WinProcExceptionFilter>(
|
| - ::GetProcAddress(::GetModuleHandle(
|
| - chrome::kBrowserProcessExecutableName),
|
| - "CrashForException"));
|
| + reinterpret_cast<base::win::WinProcExceptionFilter>(::GetProcAddress(
|
| + ::GetModuleHandle(chrome::kChromeElfDllName), "CrashForException"));
|
| + CHECK(exception_filter);
|
| exception_filter = base::win::SetWinProcExceptionFilter(exception_filter);
|
| DCHECK(!exception_filter);
|
| }
|
|
|