| 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)
|
| 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);
|
|
|