Index: third_party/tcmalloc/chromium/src/stack_trace_table.cc |
=================================================================== |
--- third_party/tcmalloc/chromium/src/stack_trace_table.cc (revision 124832) |
+++ third_party/tcmalloc/chromium/src/stack_trace_table.cc (working copy) |
@@ -35,7 +35,7 @@ |
#include <string.h> // for NULL, memset |
#include "base/spinlock.h" // for SpinLockHolder |
#include "common.h" // for StackTrace |
-#include "internal_logging.h" // for ASSERT, Log |
+#include "internal_logging.h" // for MESSAGE, ASSERT |
#include "page_heap_allocator.h" // for PageHeapAllocator |
#include "static_vars.h" // for Static |
@@ -93,8 +93,7 @@ |
bucket_total_++; |
b = Static::bucket_allocator()->New(); |
if (b == NULL) { |
- Log(kLog, __FILE__, __LINE__, |
- "tcmalloc: could not allocate bucket", sizeof(*b)); |
+ MESSAGE("tcmalloc: could not allocate bucket", sizeof(*b)); |
error_ = true; |
} else { |
b->hash = h; |
@@ -115,9 +114,8 @@ |
const int out_len = bucket_total_ * 3 + depth_total_ + 1; |
void** out = new void*[out_len]; |
if (out == NULL) { |
- Log(kLog, __FILE__, __LINE__, |
- "tcmalloc: allocation failed for stack traces", |
- out_len * sizeof(*out)); |
+ MESSAGE("tcmalloc: allocation failed for stack traces\n", |
+ out_len * sizeof(*out)); |
return NULL; |
} |