aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/CrashHandler.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-07-02 14:30:47 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-02 14:30:47 -0700
commit0e3fac215d0ee2e2efaca69b7d53f636f4fe5ba7 (patch)
tree75dcd987801f4d7a092bff5442093180084aba41 /tools/CrashHandler.h
parent23ff2a5d464452e0501aca4938583e42ba611a2e (diff)
Gate CrashHandler with SK_CRASH_HANDLER.
BUG=skia: R=bsalomon@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/364033002
Diffstat (limited to 'tools/CrashHandler.h')
-rw-r--r--tools/CrashHandler.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/CrashHandler.h b/tools/CrashHandler.h
index 6c22c8ee70..606e81ef75 100644
--- a/tools/CrashHandler.h
+++ b/tools/CrashHandler.h
@@ -1,9 +1,11 @@
#ifndef CrashHandler_DEFINED
#define CrashHandler_DEFINED
-// If possible (and not already done) register a handler for a stack trace when we crash.
-// Currently this works on Linux and Mac, hopefully Windows soon.
-// On Linux, you will get much better results than we can deliver by running "catchsegv <program>".
+// If possible (and not already done), and SK_CRASH_HANDLER is defined,
+// register a handler for a stack trace when we crash.
+//
+// Currently this works on Linux and Mac and Windows, but on Linux, you will
+// get much better results than we can deliver by running "catchsegv <program>".
void SetupCrashHandler();
#endif//CrashHandler_DEFINED