summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/perf/run_all.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/test/perf/run_all.cc')
-rw-r--r--chrome_frame/test/perf/run_all.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome_frame/test/perf/run_all.cc b/chrome_frame/test/perf/run_all.cc
index 01dda7c..7d66299 100644
--- a/chrome_frame/test/perf/run_all.cc
+++ b/chrome_frame/test/perf/run_all.cc
@@ -10,11 +10,17 @@
#include "chrome_frame/test_utils.h"
#include "chrome_frame/utils.h"
+void PureCall() {
+ __debugbreak();
+}
+
int main(int argc, char **argv) {
base::PerfTestSuite perf_suite(argc, argv);
chrome::RegisterPathProvider();
base::PlatformThread::SetName("ChromeFrame perf tests");
+ _set_purecall_handler(PureCall);
+
SetConfigBool(kChromeFrameHeadlessMode, true);
SetConfigBool(kChromeFrameUnpinnedMode, true);