summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/renderer/about_handler.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/chrome/renderer/about_handler.cc b/chrome/renderer/about_handler.cc
index de4b57a..c8e1604 100644
--- a/chrome/renderer/about_handler.cc
+++ b/chrome/renderer/about_handler.cc
@@ -43,7 +43,14 @@ bool AboutHandler::MaybeHandle(const GURL& url) {
// static
void AboutHandler::AboutCrash() {
- CHECK(false);
+ // NOTE(shess): Crash directly rather than using NOTREACHED() so
+ // that the signature is easier to triage in crash reports.
+ volatile int* zero = NULL;
+ *zero = 0;
+
+ // Just in case the compiler decides the above is undefined and
+ // optimizes it away.
+ NOTREACHED();
}
// static