Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(748)

Unified Diff: net/tools/stress_cache/stress_cache.cc

Issue 2828373002: Revert of Report CHECK/DCHECK to test launcher summary output. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/test/scoped_disable_exit_on_dfatal.cc ('k') | sandbox/linux/tests/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/stress_cache/stress_cache.cc
diff --git a/net/tools/stress_cache/stress_cache.cc b/net/tools/stress_cache/stress_cache.cc
index 3d49fda5cce82fd47aac543d20cc4fbd288838b5..fefcd72f23d7177f48a743d6bc33cf610fe72b67 100644
--- a/net/tools/stress_cache/stress_cache.cc
+++ b/net/tools/stress_cache/stress_cache.cc
@@ -379,10 +379,7 @@
return true;
}
-void CrashHandler(const char* file,
- int line,
- const base::StringPiece str,
- const base::StringPiece stack_trace) {
+void CrashHandler(const std::string& str) {
g_crashing = true;
base::debug::BreakDebugger();
}
@@ -417,8 +414,7 @@
if (argc < 2)
return MasterCode();
- logging::ScopedLogAssertHandler scoped_assert_handler(
- base::Bind(CrashHandler));
+ logging::SetLogAssertHandler(CrashHandler);
logging::SetLogMessageHandler(MessageHandler);
#if defined(OS_WIN)
« no previous file with comments | « net/test/scoped_disable_exit_on_dfatal.cc ('k') | sandbox/linux/tests/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698