diff options
author | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-24 12:58:37 +0000 |
---|---|---|
committer | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-24 12:58:37 +0000 |
commit | c9d40877fb0df5306deac35ff176a02c667d90e8 (patch) | |
tree | 07e1e03a75ac5637ebc5543d73366ce29b2854bf /chrome/installer | |
parent | 025517044b4be3ab45efc2f383e5a7b830aa7281 (diff) | |
download | chromium_src-c9d40877fb0df5306deac35ff176a02c667d90e8.zip chromium_src-c9d40877fb0df5306deac35ff176a02c667d90e8.tar.gz chromium_src-c9d40877fb0df5306deac35ff176a02c667d90e8.tar.bz2 |
Enforce Terminate on Heap Corruption in most of our executable on Windows XP SP3 or Vista.
This won't submit the crash dump but it's still better than nothing.
Fix broken alignment on test_shell_main.cc.
Review URL: http://codereview.chromium.org/3105
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2546 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r-- | chrome/installer/util/run_all_unittests.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/installer/util/run_all_unittests.cc b/chrome/installer/util/run_all_unittests.cc index c0b131f..4ab019a 100644 --- a/chrome/installer/util/run_all_unittests.cc +++ b/chrome/installer/util/run_all_unittests.cc @@ -2,9 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "base/process_util.h" #include "base/test_suite.h" int main(int argc, char** argv) { + process_util::EnableTerminationOnHeapCorruption(); return TestSuite(argc, argv).Run(); } - |