| Index: third_party/tcmalloc/chromium/src/malloc_hook-inl.h
|
| diff --git a/third_party/tcmalloc/chromium/src/malloc_hook-inl.h b/third_party/tcmalloc/chromium/src/malloc_hook-inl.h
|
| index e7bfd617d22a7bbe7fc7611999a01f2f7b517f42..7c783bf7a48dc536eec76a3ebe26e4a741f66eac 100644
|
| --- a/third_party/tcmalloc/chromium/src/malloc_hook-inl.h
|
| +++ b/third_party/tcmalloc/chromium/src/malloc_hook-inl.h
|
| @@ -41,7 +41,7 @@
|
| #include <sys/types.h>
|
| #include "base/atomicops.h"
|
| #include "base/basictypes.h"
|
| -#include <google/malloc_hook.h>
|
| +#include <gperftools/malloc_hook.h>
|
|
|
| namespace base { namespace internal {
|
|
|
| @@ -104,7 +104,7 @@ static const int kHookListMaxValues = 7;
|
| // HookList: a class that provides synchronized insertions and removals and
|
| // lockless traversal. Most of the implementation is in malloc_hook.cc.
|
| template <typename T>
|
| -struct HookList {
|
| +struct PERFTOOLS_DLL_DECL HookList {
|
| COMPILE_ASSERT(sizeof(T) <= sizeof(AtomicWord), T_should_fit_in_AtomicWord);
|
|
|
| // Adds value to the list. Note that duplicates are allowed. Thread-safe and
|
|
|