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

Unified Diff: third_party/tcmalloc/chromium/src/tcmalloc.cc

Issue 1610153002: Allocator cleanup: move tcmalloc-specific calls to base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup_nonbase_tcmalloc_1
Patch Set: rebase Created 4 years, 11 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/tcmalloc.cc
diff --git a/third_party/tcmalloc/chromium/src/tcmalloc.cc b/third_party/tcmalloc/chromium/src/tcmalloc.cc
index 3077b75972645cf82958edacb65180bbea1db384..4ea7cdcf1595bee56b315eb9959d7b653e70a785 100644
--- a/third_party/tcmalloc/chromium/src/tcmalloc.cc
+++ b/third_party/tcmalloc/chromium/src/tcmalloc.cc
@@ -1746,12 +1746,6 @@ extern "C" void* PERFTOOLS_DLL_DECL tc_malloc_skip_new_handler(size_t size) {
#endif // TCMALLOC_USING_DEBUGALLOCATION
-#if defined(OS_LINUX)
-// Alias the weak symbol in chromium to our implementation.
-extern "C" __attribute__((visibility("default"), alias("tc_malloc_skip_new_handler")))
-void* tc_malloc_skip_new_handler_weak(size_t size);
-#endif
-
// --- Validation implementation with an extra mark ----------------------------
// We will put a mark at the extreme end of each allocation block. We make
// sure that we always allocate enough "extra memory" that we can fit in the

Powered by Google App Engine
This is Rietveld 408576698