summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authormad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-03 16:26:32 +0000
committermad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-03 16:26:32 +0000
commita75b73943c23d759b249529e72e0dd0bd55fba32 (patch)
tree8bab23d5df8ee3ca77a6320ca0d2ed75374a1960 /chrome_frame
parentce11568626e96fee584e8a9eabc227f3b6385e63 (diff)
downloadchromium_src-a75b73943c23d759b249529e72e0dd0bd55fba32.zip
chromium_src-a75b73943c23d759b249529e72e0dd0bd55fba32.tar.gz
chromium_src-a75b73943c23d759b249529e72e0dd0bd55fba32.tar.bz2
Committing for stoyan since we need this now...
http://codereview.chromium.org/569017 BUG=0 TEST=Run the test for both Debug and Release builds git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37972 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/crash_reporting/vectored_handler_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome_frame/crash_reporting/vectored_handler_unittest.cc b/chrome_frame/crash_reporting/vectored_handler_unittest.cc
index 3df4608..d7fc4ac 100644
--- a/chrome_frame/crash_reporting/vectored_handler_unittest.cc
+++ b/chrome_frame/crash_reporting/vectored_handler_unittest.cc
@@ -128,9 +128,9 @@ MATCHER_P(ExceptionCodeIs, code, "") {
return (arg->ExceptionRecord->ExceptionCode == code);
}
-void OverflowStack() {
- char tmp[1024 * 2048];
- ZeroMemory(tmp, sizeof(tmp));
+DECLSPEC_NOINLINE static void OverflowStack() {
+ char tmp[1024 * 2048] = {0};
+ GetSystemInfo(reinterpret_cast<SYSTEM_INFO*>(&tmp));
}
DWORD WINAPI CrashingThread(PVOID tmp) {