| Index: components/crash/app/breakpad_win.cc
|
| diff --git a/components/crash/app/breakpad_win.cc b/components/crash/app/breakpad_win.cc
|
| index 1c3af66fd8013ad7de4abbfe2ffdd8e91ede3f0b..fb62b701ae4fe9eb731646ee0590a0a0418b072b 100644
|
| --- a/components/crash/app/breakpad_win.cc
|
| +++ b/components/crash/app/breakpad_win.cc
|
| @@ -616,6 +616,17 @@ void InitCrashReporter(const std::string& process_type_switch) {
|
| }
|
| }
|
|
|
| +void ShutdownCrashReporter() {
|
| + if (g_breakpad) {
|
| + delete g_breakpad;
|
| + g_breakpad = NULL;
|
| + }
|
| + if (g_dumphandler_no_crash) {
|
| + delete g_dumphandler_no_crash;
|
| + g_dumphandler_no_crash = NULL;
|
| + }
|
| +}
|
| +
|
| // If the user has disabled crash reporting uploads and restarted Chrome, the
|
| // restarted instance will still contain the pipe environment variable, which
|
| // will allow the restarted process to still upload crash reports. This function
|
|
|