Index: third_party/tcmalloc/chromium/src/heap-checker-bcad.cc |
=================================================================== |
--- third_party/tcmalloc/chromium/src/heap-checker-bcad.cc (revision 135692) |
+++ third_party/tcmalloc/chromium/src/heap-checker-bcad.cc (working copy) |
@@ -44,8 +44,8 @@ |
// consider that allocation to be a leak, even though it's not (since |
// the allocated object is reachable from global data and hence "live"). |
-#include <stdlib.h> // for abort() |
#include <gperftools/malloc_extension.h> |
+#include "base/abort.h" |
// A dummy variable to refer from heap-checker.cc. This is to make |
// sure this file is not optimized out by the linker. |
@@ -76,7 +76,7 @@ |
++count_; |
} |
~HeapLeakCheckerGlobalPrePost() { |
- if (count_ <= 0) abort(); |
+ if (count_ <= 0) Abort(); |
--count_; |
if (count_ == 0) HeapLeakChecker_AfterDestructors(); |
} |