| Index: chrome/app/chrome_main.cc
|
| diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc
|
| index 80cd0fb2f8944215f40ee84c89adb23b886750cc..730f31eaae0f3c40a6d1896df671f8d27bb11f8c 100644
|
| --- a/chrome/app/chrome_main.cc
|
| +++ b/chrome/app/chrome_main.cc
|
| @@ -10,6 +10,7 @@
|
| #include "base/debug/dump_without_crashing.h"
|
| #include "base/win/win_util.h"
|
| #include "chrome/common/chrome_constants.h"
|
| +#include "chrome/common/terminate_on_heap_corruption_experiment_win.h"
|
|
|
| #define DLLEXPORT __declspec(dllexport)
|
|
|
| @@ -49,6 +50,9 @@ int ChromeMain(int argc, const char** argv) {
|
| ::GetProcAddress(::GetModuleHandle(chrome::kBrowserProcessExecutableName),
|
| "DumpProcessWithoutCrash"));
|
| base::debug::SetDumpWithoutCrashingFunction(DumpProcess);
|
| +
|
| + params.enable_termination_on_heap_corruption =
|
| + !ShouldExperimentallyDisableTerminateOnHeapCorruption();
|
| #else
|
| params.argc = argc;
|
| params.argv = argv;
|
|
|