summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-13 04:02:42 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-13 04:02:42 +0000
commitea2403dae8f7483adf700724707e125b7e5de494 (patch)
tree5f5b757014805df69fd59751ee75bdf6f293720b /base
parentd4a41f3af13083e1bd0b595f4b9d3b3856c22263 (diff)
downloadchromium_src-ea2403dae8f7483adf700724707e125b7e5de494.zip
chromium_src-ea2403dae8f7483adf700724707e125b7e5de494.tar.gz
chromium_src-ea2403dae8f7483adf700724707e125b7e5de494.tar.bz2
Revert 77958 - Make sure Windows default heap will crash on corruption
I'm hoping this will get us some crashes on double frees, but I'm wary about performance impact, so I'll land this, and then revert it, to see what impact it has on the perf bots. TBR=cpu Review URL: http://codereview.chromium.org/6686022 TBR=jar@chromium.org Review URL: http://codereview.chromium.org/6686030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77962 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/allocator/win_allocator.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/base/allocator/win_allocator.cc b/base/allocator/win_allocator.cc
index 7ecb1d6..8ae653a 100644
--- a/base/allocator/win_allocator.cc
+++ b/base/allocator/win_allocator.cc
@@ -20,9 +20,6 @@ bool win_heap_init(bool use_lfh) {
// NOTE: Setting LFH may fail. Vista already has it enabled.
// And under the debugger, it won't use LFH. So we
// ignore any errors.
- } else {
- HeapSetInformation(win_heap, HeapEnableTerminationOnCorruption,
- NULL, 0);
}
return true;