From ea2403dae8f7483adf700724707e125b7e5de494 Mon Sep 17 00:00:00 2001 From: "jar@chromium.org" Date: Sun, 13 Mar 2011 04:02:42 +0000 Subject: 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 --- base/allocator/win_allocator.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'base') 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; -- cgit v1.1