summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 06:14:42 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 06:14:42 +0000
commite8f2d48acf88ba88c6e4fcc983e921e575bace55 (patch)
tree8852f73816fdc7a95e743ab6ec023c65b19a80d4 /base
parent5a3ecaaef4cb622ea94d8278cde6ade46066427e (diff)
downloadchromium_src-e8f2d48acf88ba88c6e4fcc983e921e575bace55.zip
chromium_src-e8f2d48acf88ba88c6e4fcc983e921e575bace55.tar.gz
chromium_src-e8f2d48acf88ba88c6e4fcc983e921e575bace55.tar.bz2
Revert 79258 - Mark all the free'ed region with special markers so that browser
will crash if free'ed memory is accessed (hoping to detect the memory corrupters). Landed the original CL to get results from stability tests. BUG=76891 TBR=jar Review URL: http://codereview.chromium.org/6676098 TBR=rtenneti@chromium.org Review URL: http://codereview.chromium.org/6732018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79259 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/allocator/allocator_shim.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/base/allocator/allocator_shim.cc b/base/allocator/allocator_shim.cc
index 33217ca..97946e7 100644
--- a/base/allocator/allocator_shim.cc
+++ b/base/allocator/allocator_shim.cc
@@ -41,8 +41,7 @@ typedef enum {
// See SetupSubprocessAllocator() to specify a default secondary (subprocess)
// allocator.
// TODO(jar): Switch to using TCMALLOC for the renderer as well.
-// static Allocator allocator = WINHEAP;
-static Allocator allocator = TCMALLOC;
+static Allocator allocator = WINHEAP;
// The names of the environment variables that can optionally control the
// selection of the allocator. The primary may be used to control overall