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

Unified Diff: third_party/tcmalloc/chromium/src/internal_logging.cc

Issue 10384117: Add a chromium version abort function for tcmalloc: Abort(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
Index: third_party/tcmalloc/chromium/src/internal_logging.cc
===================================================================
--- third_party/tcmalloc/chromium/src/internal_logging.cc (revision 135692)
+++ third_party/tcmalloc/chromium/src/internal_logging.cc (working copy)
@@ -41,6 +41,7 @@
#endif
#include <gperftools/malloc_extension.h>
+#include "base/abort.h"
#include "base/logging.h" // for perftools_vsnprintf
#include "base/spinlock.h" // for SpinLockHolder, SpinLock
@@ -116,7 +117,7 @@
(*log_message_writer)(stats_buffer, strlen(stats_buffer));
}
- abort();
+ Abort();
}
bool Logger::Add(const LogItem& item) {

Powered by Google App Engine
This is Rietveld 408576698