diff options
author | huanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-02 05:51:12 +0000 |
---|---|---|
committer | huanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-02 05:51:12 +0000 |
commit | 336005489a1ce2f7d6365f13fca5020e129a5dbd (patch) | |
tree | cd95734b659b1c7ff09002e34f5e2a20fb83b22e /chrome/app | |
parent | 5fff93f1d7914a9df12cac214beac3b885443937 (diff) | |
download | chromium_src-336005489a1ce2f7d6365f13fca5020e129a5dbd.zip chromium_src-336005489a1ce2f7d6365f13fca5020e129a5dbd.tar.gz chromium_src-336005489a1ce2f7d6365f13fca5020e129a5dbd.tar.bz2 |
Revert r22080 and re-enable tcmalloc.
Review URL: http://codereview.chromium.org/159771
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22251 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/chrome_dll_main.cc | 4 |
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 } |