Chromium Code Reviews| Index: content/app/content_main_runner.cc |
| diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc |
| index 87950670b86f5814a7475ed2a66a778673951fe3..6302e96f91078c63a1a285e42b9326c3fd8dfd0d 100644 |
| --- a/content/app/content_main_runner.cc |
| +++ b/content/app/content_main_runner.cc |
| @@ -486,6 +486,7 @@ class ContentMainRunnerImpl : public ContentMainRunner { |
| int Initialize(const ContentMainParams& params) override { |
| ui_task_ = params.ui_task; |
| + base::EnableTerminationOnOutOfMemory(); |
| #if defined(OS_WIN) |
|
cpu_(ooo_6.6-7.5)
2015/01/10 05:37:27
moving it up here so we have both crt "OMG handler
|
| RegisterInvalidParamHandler(); |
| ui::win::CreateATLModuleIfNeeded(); |
| @@ -602,7 +603,6 @@ class ContentMainRunnerImpl : public ContentMainRunner { |
| if (!delegate_ || delegate_->ShouldEnableTerminationOnHeapCorruption()) |
| base::EnableTerminationOnHeapCorruption(); |
| - base::EnableTerminationOnOutOfMemory(); |
| #if !defined(OS_IOS) |
| SetProcessTitleFromCommandLine(argv); |