| 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)
|
|
|