Index: third_party/tcmalloc/chromium/src/base/low_level_alloc.cc |
=================================================================== |
--- third_party/tcmalloc/chromium/src/base/low_level_alloc.cc (revision 124832) |
+++ third_party/tcmalloc/chromium/src/base/low_level_alloc.cc (working copy) |
@@ -38,7 +38,7 @@ |
#include "base/spinlock.h" |
#include "base/logging.h" |
#include "malloc_hook-inl.h" |
-#include <gperftools/malloc_hook.h> |
+#include <google/malloc_hook.h> |
#include <errno.h> |
#ifdef HAVE_UNISTD_H |
#include <unistd.h> |
@@ -233,7 +233,7 @@ |
this->arena_->mu.Lock(); |
} |
~ArenaLock() { RAW_CHECK(this->left_, "haven't left Arena region"); } |
- void Leave() /*UNLOCK_FUNCTION()*/ { |
+ void Leave() UNLOCK_FUNCTION() { |
this->arena_->mu.Unlock(); |
#if 0 |
if (this->mask_valid_) { |