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

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

Issue 257453002: Fix tc_malloc_skip_new_handler to work togather with heap profiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 018bd8e2ef3706de180d48c34947aef1fd77fc13..c8a705ff501f26bf5cd58eabcdeed049444b755b 100644
--- a/third_party/tcmalloc/chromium/src/tcmalloc.cc
+++ b/third_party/tcmalloc/chromium/src/tcmalloc.cc
@@ -269,6 +269,9 @@ extern "C" {
// Windows: _msize()
size_t tc_malloc_size(void* p) __THROW
ATTRIBUTE_SECTION(google_malloc);
+
+ void* tc_malloc_skip_new_handler(size_t size)
+ ATTRIBUTE_SECTION(google_malloc);
} // extern "C"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698