From c9d40877fb0df5306deac35ff176a02c667d90e8 Mon Sep 17 00:00:00 2001 From: "maruel@google.com" Date: Wed, 24 Sep 2008 12:58:37 +0000 Subject: 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 --- chrome/test/perf/perftests.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome/test/perf') diff --git a/chrome/test/perf/perftests.cc b/chrome/test/perf/perftests.cc index d671ff8..2b1e4e5 100644 --- a/chrome/test/perf/perftests.cc +++ b/chrome/test/perf/perftests.cc @@ -4,12 +4,14 @@ #include "base/message_loop.h" #include "base/perftimer.h" +#include "base/process_util.h" #include "chrome/common/chrome_paths.cc" #include "testing/gtest/include/gtest/gtest.h" // TODO(darin): share code with base/run_all_perftests.cc int main(int argc, char **argv) { + process_util::EnableTerminationOnHeapCorruption(); chrome::RegisterPathProvider(); MessageLoop main_message_loop; -- cgit v1.1