Chromium Code Reviews| Index: components/crash/app/breakpad_win.cc |
| diff --git a/components/crash/app/breakpad_win.cc b/components/crash/app/breakpad_win.cc |
| index 38020f447dc1341041bb3cce0d77907b49a389c9..fb752ec203ac2b797b108c7079835712e630b19c 100644 |
| --- a/components/crash/app/breakpad_win.cc |
| +++ b/components/crash/app/breakpad_win.cc |
| @@ -541,8 +541,13 @@ void InitCrashReporter(const std::string& process_type_switch) { |
| base::CommandLine::ForCurrentProcess(), |
| GetCrashReporterClient()); |
| +#if !defined(COMPONENT_BUILD) |
| + // In a static build, the EXE must separately initialize the crash keys |
| + // configuration. |
|
Robert Sesek
2015/03/17 18:56:01
Copy over the comment about where the DLL initiali
erikwright (departed)
2015/03/17 19:01:34
Done.
|
| base::debug::SetCrashKeyReportingFunctions(&SetCrashKeyValueForBaseDebug, |
| &ClearCrashKeyForBaseDebug); |
| + GetCrashReporterClient()->RegisterCrashKeys(); |
| +#endif |
| google_breakpad::ExceptionHandler::MinidumpCallback callback = NULL; |
| LPTOP_LEVEL_EXCEPTION_FILTER default_filter = NULL; |