Index: chrome/app/chrome_dll_main.cc |
=================================================================== |
--- chrome/app/chrome_dll_main.cc (revision 22250) |
+++ chrome/app/chrome_dll_main.cc (working copy) |
@@ -226,8 +226,8 @@ |
_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 |
} |