summaryrefslogtreecommitdiffstats
path: root/chrome/app
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/app')
-rw-r--r--chrome/app/chrome_dll_main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc
index 478140c..43c22cf 100644
--- a/chrome/app/chrome_dll_main.cc
+++ b/chrome/app/chrome_dll_main.cc
@@ -226,8 +226,8 @@ void RegisterInvalidParamHandler() {
_set_purecall_handler(PureCall);
// Gather allocation failure.
std::set_new_handler(&OnNoMemory);
- // TODO: use _set_new_mode to enable the new handler for malloc() based
- // failures.
+ // Also enable the new handler for malloc() based failures.
+ _set_new_mode(1);
#endif
}