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

Unified Diff: base/allocator/allocator_shim_override_glibc_weak_symbols.h

Issue 2697123007: base: Add support for malloc zones to the allocator shim (Closed)
Patch Set: Windows compile error. Created 3 years, 10 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: base/allocator/allocator_shim_override_glibc_weak_symbols.h
diff --git a/base/allocator/allocator_shim_override_glibc_weak_symbols.h b/base/allocator/allocator_shim_override_glibc_weak_symbols.h
index 7949399f2efa5763b0f6efbe4b01498a2c47e90d..a0b46183fc3c1601df6ad24aca9eb82766afcf81 100644
--- a/base/allocator/allocator_shim_override_glibc_weak_symbols.h
+++ b/base/allocator/allocator_shim_override_glibc_weak_symbols.h
@@ -39,19 +39,19 @@ extern "C" {
namespace {
void* GlibcMallocHook(size_t size, const void* caller) {
- return ShimMalloc(size);
+ return ShimMalloc(size, nullptr);
}
void* GlibcReallocHook(void* ptr, size_t size, const void* caller) {
- return ShimRealloc(ptr, size);
+ return ShimRealloc(ptr, size, nullptr);
}
void GlibcFreeHook(void* ptr, const void* caller) {
- return ShimFree(ptr);
+ return ShimFree(ptr, nullptr);
}
void* GlibcMemalignHook(size_t align, size_t size, const void* caller) {
- return ShimMemalign(align, size);
+ return ShimMemalign(align, size, nullptr);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698