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

Unified Diff: third_party/tcmalloc/chromium/src/malloc_hook-inl.h

Issue 9667026: Revert 126020 - Experiment for updating the tcmalloc chromium branch to r144 (gperftools 2.0). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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/malloc_hook-inl.h
===================================================================
--- third_party/tcmalloc/chromium/src/malloc_hook-inl.h (revision 126022)
+++ third_party/tcmalloc/chromium/src/malloc_hook-inl.h (working copy)
@@ -41,7 +41,7 @@
#include <sys/types.h>
#include "base/atomicops.h"
#include "base/basictypes.h"
-#include <gperftools/malloc_hook.h>
+#include <google/malloc_hook.h>
namespace base { namespace internal {
@@ -104,7 +104,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 PERFTOOLS_DLL_DECL HookList {
+struct 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
« no previous file with comments | « third_party/tcmalloc/chromium/src/malloc_hook.cc ('k') | third_party/tcmalloc/chromium/src/malloc_hook_mmap_freebsd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698